aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/bzip2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/bzip2.sh')
-rw-r--r--chapter8/bzip2.sh42
1 files changed, 21 insertions, 21 deletions
diff --git a/chapter8/bzip2.sh b/chapter8/bzip2.sh
index c45bea4..08e95e1 100644
--- a/chapter8/bzip2.sh
+++ b/chapter8/bzip2.sh
@@ -1,21 +1,21 @@
-#!/bin/bash
-# shellcheck disable=SC2016
-
-patch -Np1 -i ../bzip2-"${VERSION}"-install_docs-1.patch &&
-
-sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile &&
-sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile &&
-
-make -f Makefile-libbz2_so &&
-make clean &&
-make &&
-
-make PREFIX=/usr -j1 install &&
-
-cp -v bzip2-shared /bin/bzip2 &&
-cp -av libbz2.so* /lib &&
-ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
-rm -v /usr/bin/{bunzip2,bzcat,bzip2} &&
-ln -sv bzip2 /bin/bunzip2 &&
-ln -sv bzip2 /bin/bzcat &&
-rm -fv /usr/lib/libbz2.a
+#!/bin/bash
+# shellcheck disable=SC2016
+
+patch -Np1 -i ../bzip2-"${VERSION}"-install_docs-1.patch &&
+
+sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile &&
+sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile &&
+
+make -f Makefile-libbz2_so &&
+make clean &&
+make &&
+
+make PREFIX=/usr -j1 install &&
+
+cp -v bzip2-shared /bin/bzip2 &&
+cp -av libbz2.so* /lib &&
+ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
+rm -v /usr/bin/{bunzip2,bzcat,bzip2} &&
+ln -sv bzip2 /bin/bunzip2 &&
+ln -sv bzip2 /bin/bzcat &&
+rm -fv /usr/lib/libbz2.a