Skip to content

Commit b38bae7

Browse files
committed
BF: fix bug for Windows bat-file install
Windows .bat file shadow of Python script fails for paths with spaces. Thanks to P. Renner for the fix - see matthew-brett/myscripter#2
1 parent f18487a commit b38bae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nisext/sexts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _package_status(pkg_name, version, version_getter, checker):
222222
exit /b 1
223223
:goodstart
224224
set py_exe=%line1:~2%
225-
call %py_exe% %pyscript% %*
225+
call "%py_exe%" %pyscript% %*
226226
"""
227227

228228
class install_scripts_bat(install_scripts):

0 commit comments

Comments
 (0)