From b38bae76f9130f1947a445d1794ecb57ce6f173d Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Tue, 11 Aug 2015 11:45:34 +0100 Subject: [PATCH] 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 https://github.com/matthew-brett/myscripter/pull/2 --- nisext/sexts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nisext/sexts.py b/nisext/sexts.py index db6cc66c7e..da1c056418 100644 --- a/nisext/sexts.py +++ b/nisext/sexts.py @@ -222,7 +222,7 @@ def _package_status(pkg_name, version, version_getter, checker): exit /b 1 :goodstart set py_exe=%line1:~2% -call %py_exe% %pyscript% %* +call "%py_exe%" %pyscript% %* """ class install_scripts_bat(install_scripts):