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).
This commit is contained in:
Tanzinul Islam 2019-06-03 08:22:31 +01:00
parent 435bf47524
commit 5a951d3a2a

View file

@ -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