aboutsummaryrefslogtreecommitdiff
path: root/src/python/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/install.sh')
-rwxr-xr-xsrc/python/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/install.sh b/src/python/install.sh
index 2a0dd55..3cf3a88 100755
--- a/src/python/install.sh
+++ b/src/python/install.sh
@@ -374,6 +374,7 @@ if [ "${PYTHON_VERSION}" != "none" ]; then
# Additional python versions to be installed but not be set as default.
if [ ! -z "${ADDITIONAL_VERSIONS}" ]; then
+ OLD_INSTALL_PATH="${INSTALL_PATH}"
OLDIFS=$IFS
IFS=","
read -a additional_versions <<< "$ADDITIONAL_VERSIONS"
@@ -381,6 +382,7 @@ if [ "${PYTHON_VERSION}" != "none" ]; then
OVERRIDE_DEFAULT_VERSION="false"
install_python $version
done
+ INSTALL_PATH="${OLD_INSTALL_PATH}"
IFS=$OLDIFS
fi