diff --git a/bin/steps/pipenv-python-version b/bin/steps/pipenv-python-version index 074d793191570b5a65629b44dceb3cd686307033..d35b213ae547e88cd594796410a9cb73af46474b 100755 --- a/bin/steps/pipenv-python-version +++ b/bin/steps/pipenv-python-version @@ -16,7 +16,7 @@ if [[ -f $BUILD_DIR/Pipfile ]]; then fi set -e - if [[ "$PYTHON" != "null" ]]; then + if [[ "$PYTHON" == "null" ]]; then PYTHON=$(jq -r '._meta.requires.python_version' "$BUILD_DIR/Pipfile.lock") if [ "$PYTHON" = 2.7 ]; then echo "python-2.7.14" > "$BUILD_DIR/runtime.txt"