hhc.exe suddenly crashes if the directory is changed before calling it...

it works fine without changing the directory - css and js are embedded and the files come out identical
removed the directory change


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4777 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-10-20 11:36:06 +00:00
parent a7d4d32640
commit 536545a43b

View file

@ -74,7 +74,7 @@ def fix_html(target, source, env):
return None
if build_chm:
hhc_action = Action('cd "%s" && hhc nsis.hhp' % (build_dir))
hhc_action = Action(r'hhc "%s\nsis.hhp"' % (build_dir))
execute = hhc_action.execute
def rexecute(*args):
return execute(*args) != 1 # hhc returns 1 on success