From e7bf3fef3837eda05ff57a689a88ebd25954390b Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 16 Oct 2008 06:27:42 +0000 Subject: [PATCH] More installer stuff for OSX --- doc/makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 74fe1c183c..748cdcb7c8 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -3617,7 +3617,7 @@ def MakeInstallerOSX(): oscmd("mkdir -p Panda3D-tpl-rw/Panda3D/%s/etc" % VERSION) oscmd("mkdir -p Panda3D-tpl-rw/Panda3D/%s/lib" % VERSION) oscmd("mkdir -p Panda3D-tpl-rw/Panda3D/%s/bin" % VERSION) - oscmd("cat direct/src/directscripts/profilepaths-osx.command >> Panda3D-tpl-rw/panda3dpaths.command") + oscmd("sed -e 's@\\$1@%s@' < direct/src/directscripts/profilepaths-osx.command >> Panda3D-tpl-rw/panda3dpaths.command" % VERSION) oscmd("sed -e 's@model-cache-@# model-cache-@' -e 's@$THIS_PRC_DIR/[.][.]@/Applications/Panda3D/%s@' < built/etc/Config.prc > Panda3D-tpl-rw/Panda3D/%s/etc/Config.prc" % (VERSION, VERSION)) oscmd("cp built/etc/Confauto.prc Panda3D-tpl-rw/Panda3D/%s/etc/Confauto.prc" % VERSION) oscmd("cp -R built/include Panda3D-tpl-rw/Panda3D/%s/include" % VERSION)