Fixing several ShellCheck warnings

This commit is contained in:
Brenton Horne
2018-11-20 04:33:28 +10:00
committed by Paul Chote
parent 807a40c209
commit 2d4d6cdc1b
12 changed files with 43 additions and 43 deletions

View File

@@ -10,7 +10,7 @@ export GIT_TAG="$1"
export BUILD_OUTPUT_DIR="$2"
# Set the working dir to the location of this script using bash parameter expansion
cd "${0%/*}"
cd "${0%/*}" || exit 1
#build packages using a subshell so directory changes do not persist beyond the function
function build_package() (