lfs-scripts/scripts/chapter8/8.33-grep.sh

28 lines
221 B
Bash
Raw Normal View History

2023-01-11 10:17:22 +00:00
#!/bin/bash
cd /sources
tar xf grep-3.7.tar.xz
cd grep-3.7
./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 grep-3.7