File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,12 @@ function cmake_gen() {
69
69
PYTHON_FLAGS=" "
70
70
SYSTEM=` uname -s`
71
71
if [ " $SYSTEM " == " Darwin" ]; then
72
- if [ " $1 " == " cp27-cp27m" || " $1 " == " " ]; then
72
+ if [[ " $1 " == " cp27-cp27m" ]] || [[ " $1 " == " " ] ]; then
73
73
echo " using python abi: $1 "
74
74
if [ -d " /Library/Frameworks/Python.framework/Versions/2.7" ]; then
75
75
export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7
76
76
export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7
77
- export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/:{PATH}
77
+ export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/:$ {PATH}
78
78
PYTHON_FLAGS=" -DPYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
79
79
-DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
80
80
-DPYTHON_LIBRARY:FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
You can’t perform that action at this time.
0 commit comments