aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/bash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter6/bash.sh')
-rw-r--r--chapter6/bash.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter6/bash.sh b/chapter6/bash.sh
new file mode 100644
index 0000000..c255260
--- /dev/null
+++ b/chapter6/bash.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+./configure --prefix=/usr \
+ --build=$(support/config.guess) \
+ --host=${LFS_TGT} \
+ --without-bash-malloc &&
+make &&
+make DESTDIR=${LFS} -j1 install &&
+mv ${LFS}/usr/bin/bash ${LFS}/bin/bash &&
+ln -sv bash ${LFS}/bin/sh \ No newline at end of file