Fix paste-buffer corruption error

This commit is contained in:
rdb 2009-08-08 18:35:22 +00:00
parent 751198086d
commit 5f119ddd28
1 changed files with 2 additions and 2 deletions

View File

@ -4125,11 +4125,11 @@ def MakeRuntime():
if (os.path.exists(GetOutputDir()+"/plugins/nppanda3d.dmg")):
oscmd("rm -rf " + BracketNameWithQuotes(GetOutputDir()+"/plugins/nppanda3d.dmg"))
oscmd("hdiutil create -fs HFS+ -srcfolder %s -volname nppanda3d %s" % (GetOutputDir()+"/tmp/bundle", GetOutputDir()+"/plugins/nppanda3d.dmg"))
CopyFile(plugindir + os.path.basename(plugfile), GetOutputDir()+"/plugins/nppanda3d.dmg")
CopyFile(plugindir + "nppanda3d.dmg", GetOutputDir()+"/plugins/nppanda3d.dmg")
oscmd("rm -rf " + BracketNameWithQuotes(GetOutputDir()+"/tmp/bundle"))
else:
plugfile = CalcLocation("nppanda3d.dll", None)
CopyFile(plugindir + "nppanda3d.dmg", plugfile)
CopyFile(plugindir + os.path.basename(plugfile), plugfile)
# Copy the important libraries to built/rlib/.
CopyFile(GetOutputDir()+"/rlib/Config.prc", GetOutputDir()+"/etc/Config.prc")