lfs-scripts/scripts/chapter8/8.66-patch.sh
2023-01-12 19:27:30 +05:30

26 lines
229 B
Bash

#!/bin/bash
cd /sources
tar xf patch-2.7.6.tar.xz
cd patch-2.7.6
./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 patch-2.7.6