From ee274fe75bd5439911e073511b2434dc0ef4b865 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 29 Nov 2009 18:02:07 +0000 Subject: [PATCH] # OSX needs the -R argument to "cp" to copy symbolic links correctly, it doesn't have -d. How weird. --- makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 22fbdc849a..1598cbcc28 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -4701,7 +4701,8 @@ def MakeInstallerOSX(): oscmd("cp -R %s/plugins dstroot/base/Developer/Panda3D/plugins" % GetOutputDir()) for base in os.listdir(GetOutputDir()+"/lib"): if (not base.endswith(".a")): - oscmd("cp -d "+GetOutputDir()+"/lib/"+base+" dstroot/base/Developer/Panda3D/lib/"+base) + # OSX needs the -R argument to copy symbolic links correctly, it doesn't have -d. How weird. + oscmd("cp -R "+GetOutputDir()+"/lib/"+base+" dstroot/base/Developer/Panda3D/lib/"+base) # Scripts to configure this version of Panda3D (in environment.plist) oscmd("mkdir -p dstroot/scripts/base/")