aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/gzip.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:17:02 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:17:02 -0500
commit66d4171655e0b93766c82f50ce06521f85b58222 (patch)
tree1b6d1cbcbc169e5cbb4e6ea6698ed91d82d7cc88 /chapter6/gzip.sh
parent9d68d5da4115353816ab4f6b1c7a4f5db43576f9 (diff)
parent887bf450c01c511a3f6d048d3db78e8edfb21e8a (diff)
Merge branch 'master' into chapter7
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