[Bf-blender-cvs] [4099ad1984a] master: install_deps.sh: quiet warning in install_deps.sh
Campbell Barton
noreply at git.blender.org
Wed Jan 22 07:31:33 CET 2020
Commit: 4099ad1984a6410652bdfdc27efc61256807e9af
Author: Campbell Barton
Date: Wed Jan 22 17:26:37 2020 +1100
Branches: master
https://developer.blender.org/rB4099ad1984a6410652bdfdc27efc61256807e9af
install_deps.sh: quiet warning in install_deps.sh
The unquoted check gave a 'binary operator expected' warning.
===================================================================
M build_files/build_environment/install_deps.sh
===================================================================
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index dd15fb0d2ed..c71b5f1c436 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -4713,7 +4713,7 @@ print_info() {
_1="-D PYTHON_VERSION=$PYTHON_VERSION_MIN"
PRINT " $_1"
_buildargs="$_buildargs $_1"
- if [ -d $INST/python-$PYTHON_VERSION_MIN ]; then
+ if [ -d "$INST/python-$PYTHON_VERSION_MIN" ]; then
_1="-D PYTHON_ROOT_DIR=$INST/python-$PYTHON_VERSION_MIN"
PRINT " $_1"
_buildargs="$_buildargs $_1"
More information about the Bf-blender-cvs
mailing list