Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1c4c43

Browse files
committed
Merge pull request #316 from stonebig/master
work again with spaces in path
2 parents 098c2b0 + a6b36b6 commit b1c4c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def create_python_batch(self, name, script_name,
355355
if script_name:
356356
script_name = ' ' + script_name
357357
self.create_batch_script(name, r"""@echo off
358-
call %~dp0env_for_icons.bat
358+
call "%~dp0env_for_icons.bat"
359359
""" + changedir + command + script_name + options + " %*")
360360

361361
def create_installer(self):
@@ -763,7 +763,7 @@ def _create_batch_scripts(self):
763763
""")
764764

765765
self.create_batch_script('cmd.bat', r"""@echo off
766-
call %~dp0env_for_icons.bat
766+
call "%~dp0env_for_icons.bat"
767767
cmd.exe /k""")
768768
self.create_batch_script('python.bat',r"""@echo off
769769
call "%~dp0env_for_icons.bat"

0 commit comments

Comments
 (0)