A bit of cleanup, and call subprocess.Popen with shell=True.

This commit is contained in:
Shyotl
2014-09-01 00:47:39 -05:00
parent 8e45003c27
commit 992bbbba1c
3 changed files with 6 additions and 6 deletions

View File

@@ -358,11 +358,11 @@ class WindowsManifest(ViewerManifest):
if installed_dir != out_path:
if install:
out_path = installed_dir
result += 'SetOutPath ' + out_path + '\n'
result += 'SetOutPath "' + out_path + '"\n'
if install:
result += 'File "' + pkg_file + '"\n'
else:
result += 'Delete ' + wpath(os.path.join('$INSTDIR', rel_file)) + '\n'
result += 'Delete "' + wpath(os.path.join('$INSTDIR', rel_file)) + '"\n'
# at the end of a delete, just rmdir all the directories
if not install: