From a6b36b6d37452f866a413e64bd28a62d40b3ad35 Mon Sep 17 00:00:00 2001 From: stonebig Date: Fri, 22 Apr 2016 18:36:40 +0200 Subject: [PATCH] work again with spaces in path --- make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.py b/make.py index b2bf1980..ca07b8f1 100644 --- a/make.py +++ b/make.py @@ -355,7 +355,7 @@ def create_python_batch(self, name, script_name, if script_name: script_name = ' ' + script_name self.create_batch_script(name, r"""@echo off -call %~dp0env_for_icons.bat +call "%~dp0env_for_icons.bat" """ + changedir + command + script_name + options + " %*") def create_installer(self): @@ -763,7 +763,7 @@ def _create_batch_scripts(self): """) self.create_batch_script('cmd.bat', r"""@echo off -call %~dp0env_for_icons.bat +call "%~dp0env_for_icons.bat" cmd.exe /k""") self.create_batch_script('python.bat',r"""@echo off call "%~dp0env_for_icons.bat"