aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/binutils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter5/binutils.sh')
-rw-r--r--chapter5/binutils.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
index c77a576..2d9da5b 100644
--- a/chapter5/binutils.sh
+++ b/chapter5/binutils.sh
@@ -1,9 +1,11 @@
+#!/bin/bash
+
mkdir build
-cd build
+cd build || exit 1
-../configure --prefix=${LFS}/tools \
- --with-sysroot=${LFS} \
- --target=${LFS_TGT} \
+../configure --prefix="${LFS}"/tools \
+ --with-sysroot="${LFS}" \
+ --target="${LFS_TGT}" \
--disable-nls \
--disable-werror &&
make &&