diff options
Diffstat (limited to 'chapter6')
-rw-r--r-- | chapter6/cleanup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter6/cleanup.sh b/chapter6/cleanup.sh index 29b133f..1a82633 100644 --- a/chapter6/cleanup.sh +++ b/chapter6/cleanup.sh @@ -1,10 +1,10 @@ #!/bin/bash if [ -f "${LFS}/sources/chapter6/cleanup" ]; then - echo -e " ${IGRN}Cleanup already performed${RST}" + printf "%b" " ${IGRN}Cleanup already performed${RST}" else - echo -ne "${GRN}Cleaning up ${YLW}${LFS}${RST}... " + printf "%b" "${GRN}Cleaning up ${YLW}${LFS}${RST}... " find "${LFS}"/usr/lib -name \*.la -delete >/dev/null 2>&1 find "${LFS}"/usr/libexec -name \*.la -delete >/dev/null 2>&1 @@ -18,6 +18,6 @@ else strip --strip-unneeded "${LFS}"/usr/sbin/* >/dev/null 2>&1 strip --strip-unneeded "${LFS}"/tools/bin/* >/dev/null 2>&1 - echo -e "${IGRN}OK${RST}\n" + printf "%b" "${IGRN}OK${RST}\n" touch "${LFS}"/sources/chapter6/cleanup >/dev/null 2>&1 fi |