diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-18 11:36:47 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-18 11:36:47 -0500 |
commit | 172967fa18b897ddf725f2ed1deaef36ff424aeb (patch) | |
tree | 1eaa2f56d21fc508e9668299b4f798bdcbf85a96 | |
parent | 82897e57865eb154947dc490d613a0f23cfc3bdd (diff) |
Redirect popd command to null. Remove continue in first if block, useless here.
-rw-r--r-- | packageinstall.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packageinstall.sh b/packageinstall.sh index 4523d06..848e4d8 100644 --- a/packageinstall.sh +++ b/packageinstall.sh @@ -5,7 +5,6 @@ PACKAGE="$2" if [ -f "${LFS_SRC}/chapter${CHAPTER}/${PACKAGE}" ]; then echo -e "${GRN}Package ${YLW}${PACKAGE} ${GRN}already built and installed for ${YLW}Chapter ${CHAPTER}.${RST}" - continue; else grep -i "^${PACKAGE}" packages.csv | grep -i -v "\.patch;" | while read line; do @@ -36,7 +35,7 @@ else spinner "$pid" if [ "$retval" -ne 0 ]; then echo -e "\n${GRN}Compiling ${YLW}${PACKAGE} ${RED}FAILED!${RST}" - popd + popd > /dev/null exit 1 fi |