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