diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-26 23:11:03 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-26 23:11:03 -0500 |
commit | 235efe5cc474d20bf0465ec72583f31f38791266 (patch) | |
tree | a0b27962d3c2ff901fee97cbc665e0d4df67e653 /packageinstall.sh | |
parent | 3a807e072a134b0f5ffc3dc0d616b4ef9f81cff3 (diff) |
If extraction is successful, print OK. Remove new line before printing the compiling package message.
Diffstat (limited to 'packageinstall.sh')
-rw-r--r-- | packageinstall.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index 28f9f4b..5105fbb 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -23,11 +23,13 @@ else if [ "$retval" -ne 0 ]; then printf "%b" "${GRN}Extraction ${RED}FAILED!${RST}\n" return $retval + else + printf "%b" "${GRN}OK${RST}\n" fi pushd "${DIRNAME}" > /dev/null || return 1 - printf "%b" "\n${CYN}Compiling ${YLW}${PACKAGE}${RST}... " + printf "%b" "${CYN}Compiling ${YLW}${PACKAGE}${RST}... " mkdir -p "${LFS}/sources/log/chapter${CHAPTER}/" source "${LFS}/sources/chapter${CHAPTER}/${PACKAGE}.sh" 2>&1 > "${LFS}/sources/log/chapter${CHAPTER}/${PACKAGE}.log" 2>&1 & pid=$! |