diff options
Diffstat (limited to 'chapter6/bash.sh')
-rw-r--r-- | chapter6/bash.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chapter6/bash.sh b/chapter6/bash.sh index 9251a89..1c53aad 100644 --- a/chapter6/bash.sh +++ b/chapter6/bash.sh @@ -1,12 +1,12 @@ -#!/bin/bash -set -e - -patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch && -./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 +#!/bin/bash
+set -e
+
+patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch &&
+./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
|