aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/gzip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter6/gzip.sh')
-rw-r--r--chapter6/gzip.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/chapter6/gzip.sh b/chapter6/gzip.sh
index 853ed7b..f894df6 100644
--- a/chapter6/gzip.sh
+++ b/chapter6/gzip.sh
@@ -1,4 +1,7 @@
-./configure --prefix=/usr --host=${LFS_TGT} &&
+#!/bin/bash
+
+./configure --prefix=/usr \
+ --host="${LFS_TGT}" &&
make &&
-make DESTDIR=${LFS} -j1 install &&
-mv -v ${LFS}/usr/bin/gzip ${LFS}/bin
+make DESTDIR="${LFS}" -j1 install &&
+mv -v "${LFS}"/usr/bin/gzip "${LFS}"/bin