From 29966973a979cdecb3becf6d8b4bb22433282b7e Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 5 Nov 2009 08:54:06 +0000 Subject: [PATCH] Disable relocation on OSX to prevent issue with Panda3D.app being put in the wrong location --- direct/src/plugin_installer/make_installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/plugin_installer/make_installer.py b/direct/src/plugin_installer/make_installer.py index ec861aeb61..a38fe834bb 100755 --- a/direct/src/plugin_installer/make_installer.py +++ b/direct/src/plugin_installer/make_installer.py @@ -400,19 +400,19 @@ def makeInstaller(): package_id = 'org.panda3d.pkg.runtime' #TODO: maybe more customizable? - plistFilename = None packagemaker = "/Developer/usr/bin/packagemaker" if os.path.exists(packagemaker): # PackageMaker 3.0 or better, e.g. OSX 10.5. CMD = packagemaker - CMD += ' --id "%s"' % (package_id) + CMD += ' --id "%s"' % package_id CMD += ' --version "%s"' % options.version CMD += ' --title "%s"' % options.long_name CMD += ' --out p3d-setup.pkg' CMD += ' --target 10.4' # The earliest version of OSX supported by Panda CMD += ' --domain system' CMD += ' --root "%s"' % tmproot + CMD += ' --no-relocate' else: # PackageMaker 2.0, e.g. OSX 10.4. packagemaker = "/Developer/Tools/packagemaker"