From 5f119ddd28f300822f72eb6b3a36d2d969cd7f1e Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 8 Aug 2009 18:35:22 +0000 Subject: [PATCH] Fix paste-buffer corruption error --- makepanda/makepanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 8282e17fed..1e50127813 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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")