aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/findutils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter6/findutils.sh')
-rw-r--r--chapter6/findutils.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter6/findutils.sh b/chapter6/findutils.sh
index b587638..9d53587 100644
--- a/chapter6/findutils.sh
+++ b/chapter6/findutils.sh
@@ -1,8 +1,10 @@
+#!/bin/bash
+
./configure --prefix=/usr \
- --host=${LFS_TGT} \
- --build=$(build-aux/config.guess) &&
+ --host="${LFS_TGT}" \
+ --build="$(build-aux/config.guess)" &&
make &&
-make DESTDIR=${LFS} -j1 install &&
+make DESTDIR="${LFS}" -j1 install &&
-mv -v ${LFS}/usr/bin/find ${LFS}/bin &&
-sed -i 's|find:=${BINDIR}|find:=/bin|' ${LFS}/usr/bin/updatedb
+mv -v "${LFS}"/usr/bin/find "${LFS}"/bin &&
+sed -i 's|find:=${BINDIR}|find:=/bin|' "${LFS}"/usr/bin/updatedb