mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2025-02-05 17:00:04 +00:00
27 lines
235 B
Bash
27 lines
235 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd /sources
|
||
|
tar xf diffutils-3.8.tar.xz
|
||
|
cd diffutils-3.8
|
||
|
|
||
|
./configure --prefix=/usr
|
||
|
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
make -j5
|
||
|
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
make check
|
||
|
|
||
|
make install
|
||
|
|
||
|
cd /sources
|
||
|
rm -rf diffutils-3.8
|