From 3e341a44345df19574aa094767322ec5a07c95fe Mon Sep 17 00:00:00 2001 From: Hoyt Koepke Date: Thu, 1 Oct 2020 16:47:18 -0700 Subject: [PATCH] Fixed issues in python toolchain setup script. --- scripts/install_python_toolchain.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install_python_toolchain.sh b/scripts/install_python_toolchain.sh index 131ea19871..a63fffe59b 100755 --- a/scripts/install_python_toolchain.sh +++ b/scripts/install_python_toolchain.sh @@ -3,7 +3,7 @@ set -exo pipefail if [[ -z $VIRTUALENV ]]; then - VIRTUALENV=virtualenv + VIRTUALENV='python3 -m venv' fi $VIRTUALENV "$(pwd)"/deps/env @@ -63,7 +63,7 @@ fi echo "run 'ln -Ffs' files from ${SRC_INCLUDE_DIR}" for f in $SRC_INCLUDE_DIR/*; do - ln -Ffs "$f" "$(basename "$f")" + ln -Ffs "$f" "$(basename "$f")" || echo "Warning: error installing symlink for $f." done popd @@ -73,7 +73,7 @@ pushd deps/local/bin echo "run 'ln -Ffs' on files from ../../env/bin/" for f in ../../env/bin/*; do - ln -Ffs "$f" "$(basename "$f")" + ln -Ffs "$f" "$(basename "$f")" || echo "Warning: error installing symlink for $f." done popd