Skip to content
Snippets Groups Projects
Commit ad739d19 authored by Casey Faist's avatar Casey Faist
Browse files

move env var check to pip-install step

parent d853e34a
No related branches found
No related tags found
No related merge requests found
...@@ -286,11 +286,6 @@ source "$BIN_DIR/steps/sqlite3" ...@@ -286,11 +286,6 @@ source "$BIN_DIR/steps/sqlite3"
buildpack_sqlite3_install buildpack_sqlite3_install
mtime "sqlite3.install.time" "${start}" mtime "sqlite3.install.time" "${start}"
# Source compile variables
# shellcheck source=.python-compile-env
if [ -f .python-compile-env ]; then
source .python-compile-env
fi
# pip install # pip install
# ----------- # -----------
......
...@@ -16,6 +16,15 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then ...@@ -16,6 +16,15 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
set +e set +e
# Set SLUGIFY_USES_TEXT_UNIDECODE, for Airflow support
if [[ -r $ENV_DIR/SLUGIFY_USES_TEXT_UNIDECODE ]]; then
SLUGIFY_USES_TEXT_UNIDECODE="$(cat "$ENV_DIR/SLUGIFY_USES_TEXT_UNIDECODE")"
export SLUGIFY_USES_TEXT_UNIDECODE
echo "SLUGIFY_USES_TEXT_UNIDECODE set to " + SLUGIFY_USES_TEXT_UNIDECODE
fi
set +e
# Measure that we're using pip. # Measure that we're using pip.
mcount "tool.pip" mcount "tool.pip"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment