2
0
rdb 16 жил өмнө
parent
commit
420d5a129c

+ 1 - 0
makepanda/makepanda.py

@@ -4811,6 +4811,7 @@ def MakeInstallerOSX():
     print >>preflight, "bpfile = open(bash_profile, 'w')"
     print >>preflight, "bpfile = open(bash_profile, 'w')"
     print >>preflight, "bpfile.write(newbpdata)"
     print >>preflight, "bpfile.write(newbpdata)"
     print >>preflight, "bpfile.close()"
     print >>preflight, "bpfile.close()"
+    preflight.close()
     oscmd("chmod +x dstroot/scripts/uninstall16/preflight")
     oscmd("chmod +x dstroot/scripts/uninstall16/preflight")
     
     
     oscmd("chmod -R 0775 dstroot/*")
     oscmd("chmod -R 0775 dstroot/*")