ソースを参照

Allow spaces in $PYTHON_ROOT

This may be the case with, for example, `C:\Program Files\Python37` on
MSYS2 on Windows (with `MSYS2_PATH_TYPE=inherit` in the .ini file).
Tanzinul Islam 7 年 前
コミット
5a951d3a2a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      bootstrap.sh

+ 1 - 1
bootstrap.sh

@@ -360,7 +360,7 @@ if test "x$flag_no_python" = x; then
 import python ;
 if ! [ python.configured ]
 {
-    using python : $PYTHON_VERSION : $PYTHON_ROOT ;
+    using python : $PYTHON_VERSION : "$PYTHON_ROOT" ;
 }
 EOF
 fi

粤ICP备19079148号