lfs-scripts/scripts/chapter6/6.10-grep.sh

24 lines
229 B
Bash
Raw Permalink Normal View History

2023-01-09 08:41:23 +00:00
#!/bin/bash
cd $LFS/sources
tar xf grep-3.7.tar.xz
cd grep-3.7
./configure --prefix=/usr \
--host=$LFS_TGT
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make DESTDIR=$LFS install