lfs-scripts/scripts/chapter6/6.10-grep.sh
2023-01-09 14:11:23 +05:30

23 lines
229 B
Bash

#!/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