Skip to content

Commit cd4601a

Browse files
committed
add double-quotes to comply with shellcheck
1 parent 05e29c7 commit cd4601a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bin/steps/pip-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
4242
exit 1
4343
fi
4444

45-
$BUILD_DIR/.heroku/python/bin/pip install -r "$BUILD_DIR/requirements.txt" --exists-action=w --src=$BUILD_DIR/.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee "$WARNINGS_LOG" | cleanup | indent
45+
"$BUILD_DIR/.heroku/python/bin/pip" install -r "$BUILD_DIR/requirements.txt" --exists-action=w --src="$BUILD_DIR/.heroku/src" --disable-pip-version-check --no-cache-dir 2>&1 | tee "$WARNINGS_LOG" | cleanup | indent
4646
PIP_STATUS="${PIPESTATUS[0]}"
4747
set -e
4848

bin/steps/pipenv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
5858
# Due to weird old pip behavior and pipenv behavior, pipenv upgrades pip
5959
# to latest if only --upgrade is specified. Specify upgrade strategy to
6060
# avoid this eager behavior.
61-
$BUILD_DIR/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
61+
"$BUILD_DIR/.heroku/python/bin/pip" install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
6262

6363
# Install the test dependencies, for CI.
6464
if [ "$INSTALL_TEST" ]; then
6565
puts-step "Installing test dependencies…"
66-
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
66+
"$BUILD_DIR/.heroku/python/bin/pipenv" install --dev --system --deploy 2>&1 | cleanup | indent
6767

6868
# Install the dependencies.
6969
elif [[ ! -f Pipfile.lock ]]; then

bin/steps/python

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_UPDATE* ]]; then
116116
rm -fr "$BUILD_DIR/.heroku/python/lib/python*/site-packages/pip-*"
117117
rm -fr "$BUILD_DIR/.heroku/python/lib/python*/site-packages/setuptools-*"
118118

119-
$BUILD_DIR/.heroku/python/bin/python "$ROOT_DIR/get-pip.py" pip=="$PIP_UPDATE" &> /dev/null
120-
$BUILD_DIR/.heroku/python/bin/pip install "$ROOT_DIR/vendor/setuptools-39.0.1-py2.py3-none-any.whl" &> /dev/null
119+
"$BUILD_DIR/.heroku/python/bin/python" "$ROOT_DIR/get-pip.py" pip=="$PIP_UPDATE" &> /dev/null
120+
"$BUILD_DIR/.heroku/python/bin/pip" install "$ROOT_DIR/vendor/setuptools-39.0.1-py2.py3-none-any.whl" &> /dev/null
121121
fi
122122

123123
set -e

0 commit comments

Comments
 (0)