Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prevent paths with spaces in %PATH% or %PKG_CONFIG_PATH% to wreck hav…

…oc...
  • Loading branch information...
commit 26c274af8da1e5fa7fef5273d4dabe1035e8b126 1 parent a0c7bd5
@dieterv authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 wix/overlays/runtime/bin/setenv.cmd
View
8 wix/overlays/runtime/bin/setenv.cmd
@@ -23,14 +23,14 @@ call:abspath PYTHON_SCRIPTS "%PYTHON_ROOT%\Scripts\"
call:abspath PYTHON_PKGCONFIG "%PYTHON_ROOT%\Lib\pkgconfig\"
if defined PATH (
- set PATH=%PYTHON_ROOT%;%PYTHON_SCRIPTS%;%RUNTIME_BIN%;%PATH%
+ set PATH="%PYTHON_ROOT%;%PYTHON_SCRIPTS%;%RUNTIME_BIN%;%PATH%"
) else (
- set PATH=%PYTHON_ROOT%;%PYTHON_SCRIPTS%;%RUNTIME_BIN%
+ set PATH="%PYTHON_ROOT%;%PYTHON_SCRIPTS%;%RUNTIME_BIN%"
)
if defined PKG_CONFIG_PATH (
- set PKG_CONFIG_PATH=%PYTHON_PKGCONFIG%;%RUNTIME_PKGCONFIG%;%PKGCONFIG_PATH%
+ set PKG_CONFIG_PATH="%PYTHON_PKGCONFIG%;%RUNTIME_PKGCONFIG%;%PKGCONFIG_PATH%"
) else (
- set PKG_CONFIG_PATH=%PYTHON_PKGCONFIG%;%RUNTIME_PKGCONFIG%
+ set PKG_CONFIG_PATH="%PYTHON_PKGCONFIG%;%RUNTIME_PKGCONFIG%"
)
cls
Please sign in to comment.
Something went wrong with that request. Please try again.