From f0081e6faf7c2ad994723b7b4d055aa8b7cbcdec Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Fri, 25 May 2018 12:16:47 -0500 Subject: [PATCH] Fix new shellcheck warnings breaking periodic CI New warnings were found in our periodic (CRON) CI jobs. Fixes https://travis-ci.org/heroku/heroku-buildpack-python/jobs/383404864 --- bin/steps/collectstatic | 2 +- bin/steps/pip-install | 2 +- bin/steps/pip-uninstall | 2 +- bin/steps/pipenv | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/steps/collectstatic b/bin/steps/collectstatic index d99f021..755b927 100755 --- a/bin/steps/collectstatic +++ b/bin/steps/collectstatic @@ -11,7 +11,7 @@ # - $DEBUG_COLLECTSTATIC: upon failure, print out environment variables. # shellcheck source=bin/utils -source $BIN_DIR/utils +source "$BIN_DIR/utils" # Location of 'manage.py', if it exists. MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' -printf '%d\t%P\n' | sort -nk1 | cut -f2 | head -1) diff --git a/bin/steps/pip-install b/bin/steps/pip-install index f28a9f9..1589d87 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck source=bin/utils -source $BIN_DIR/utils +source "$BIN_DIR/utils" if [ ! "$SKIP_PIP_INSTALL" ]; then diff --git a/bin/steps/pip-uninstall b/bin/steps/pip-uninstall index cd97a8d..682b2c9 100755 --- a/bin/steps/pip-uninstall +++ b/bin/steps/pip-uninstall @@ -3,7 +3,7 @@ set +e # Install dependencies with Pip. # shellcheck source=bin/utils -source $BIN_DIR/utils +source "$BIN_DIR/utils" if [ ! "$SKIP_PIP_INSTALL" ]; then diff --git a/bin/steps/pipenv b/bin/steps/pipenv index 59aab27..e7b2bd9 100755 --- a/bin/steps/pipenv +++ b/bin/steps/pipenv @@ -3,7 +3,7 @@ # export CLINT_FORCE_COLOR=1 # export PIPENV_FORCE_COLOR=1 # shellcheck source=bin/utils -source $BIN_DIR/utils +source "$BIN_DIR/utils" set -e if [[ -f Pipfile.lock ]]; then