From 57ec0c38aecbabb95e7375dbf6f27571c3c36929 Mon Sep 17 00:00:00 2001 From: Ally Weir <aweir@twig-world.com> Date: Thu, 24 May 2018 14:38:14 +0100 Subject: [PATCH] Fix shellcheck linting issues --- 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 d99f021e..755b9279 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 f28a9f92..1589d87f 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 cd97a8d6..682b2c93 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 6dec3a16..38ddf04a 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 -- GitLab