diff options
Diffstat (limited to 'chapter6')
-rw-r--r-- | chapter6/file.sh | 14 | ||||
-rw-r--r-- | chapter6/gzip.sh | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/chapter6/file.sh b/chapter6/file.sh index bd51747..7c30a89 100644 --- a/chapter6/file.sh +++ b/chapter6/file.sh @@ -3,16 +3,16 @@ mkdir build pushd build > /dev/null || exit 1 - ../configure --disable-bzlib \ - --disable-libseccomp \ - --disable-xzlib \ - --disable-zlib && - make && +../configure --disable-bzlib \ + --disable-libseccomp \ + --disable-xzlib \ + --disable-zlib && +make && popd > /dev/null || exit 1 ./configure --prefix=/usr \ - --host="${LFS_TGT}" \ - --build="$(./config.guess)" && + --host="${LFS_TGT}" \ + --build="$(./config.guess)" && make FILE_COMPILE="$(pwd)"/build/src/file && make DESTDIR="${LFS}" -j1 install && diff --git a/chapter6/gzip.sh b/chapter6/gzip.sh index f894df6..e466da0 100644 --- a/chapter6/gzip.sh +++ b/chapter6/gzip.sh @@ -1,7 +1,7 @@ #!/bin/bash ./configure --prefix=/usr \ - --host="${LFS_TGT}" && + --host="${LFS_TGT}" && make && make DESTDIR="${LFS}" -j1 install && mv -v "${LFS}"/usr/bin/gzip "${LFS}"/bin |