lfs-scripts/scripts/chapter6/6.14-sed.sh
2023-01-09 15:16:50 +05:30

26 lines
260 B
Bash

#!/bin/bash
cd $LFS/sources
tar xf sed-4.8.tar.xz
cd sed-4.8
./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
cd $LFS/sources
rm -rf sed-4.8