diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 210c326341..a50222a3e2 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -3586,7 +3586,7 @@ def MakeInstallerNSIS(file,fullname,smdirectory,installdir): os.remove(file) if (os.path.exists("nsis-output.exe")): os.remove("nsis-output.exe") - WriteFile("built/tmp/__init__.py", "") + WriteFile(GetOutputDir()+"/tmp/__init__.py", "") psource=os.path.abspath(".") panda=os.path.abspath(GetOutputDir()) cmd="thirdparty/win-nsis/makensis /V2 "