Add 8.61 - Build gzip

This commit is contained in:
Aditya 2023-01-12 19:05:19 +05:30
parent 2a878335ef
commit afe1081189
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/bin/bash
cd /sources
tar xf gzip-1.12.tar.xz
cd gzip-1.12
./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 gzip-1.12

View file

@ -1270,3 +1270,15 @@ then
stop_script "chapter8/8.60-bash.sh" stop_script "chapter8/8.60-bash.sh"
fi fi
# Chapter 8.61
# ============
echo "Building gzip"
su -c "bash $SCRIPT/chapte8/8.61-gzip.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapte8/8.61-gzip.sh"
fi