We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 499dc48 + f859330 commit 6c27ac9Copy full SHA for 6c27ac9
distribute.sh
@@ -66,8 +66,8 @@ CYTHON+=" -t"
66
export LIBLINK_PATH="$BUILD_PATH/objects"
67
export LIBLINK="$ROOT_PATH/src/tools/liblink"
68
export BIGLINK="$ROOT_PATH/src/tools/biglink"
69
-export PIP=$PIP_NAME
70
-export VIRTUALENV=$VIRTUALENV_NAME
+export PIP=${PIP_NAME:-pip}
+export VIRTUALENV=${VIRTUALENV_NAME:-virtualenv}
71
72
export COPYLIBS=0
73
@@ -737,7 +737,7 @@ function run_pymodules_install() {
737
debug "We want to install: $PYMODULES"
738
739
debug "Check if $VIRTUALENV and $PIP are present"
740
- for tool in $VIRTUALENV $PIP; do
+ for tool in "$VIRTUALENV" "$PIP"; do
741
which $tool &>/dev/null
742
if [ $? -ne 0 ]; then
743
error "Tool $tool is missing"
0 commit comments