Skip to content

Commit f925c71

Browse files
committed
Fix the htmlhelp build process
1 parent 256648c commit f925c71

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

AutoDuck/make.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
if __name__ == "__main__":
77
# *sob* - we should kill .chm file support!
88
# "hhc" is the "html help compiler" - part of some obscure SDK.
9-
hhc = os.environ.get("HHC")
10-
if not hhc:
11-
hhc = os.path.expandvars(r"%ProgramFiles(x86)%\HTML Help Workshop\hhc.exe")
9+
if not os.environ.get("HHC"):
10+
os.environ["HHC"] = os.path.expandvars(r'"%ProgramFiles(x86)%\HTML Help Workshop\hhc.exe"')
1211

1312
# find nmake
1413
nmake = subprocess.check_output(

0 commit comments

Comments
 (0)