Install panda3d runtime to /usr/local/bin/ to fix SIP error on El Capitan

This commit is contained in:
rdb 2015-11-19 02:17:06 +01:00
parent 6fb08f124c
commit 828fe2af88
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ def makeInstaller():
if not os.path.exists(tmproot):
os.makedirs(tmproot)
dst_npapi = os.path.join(tmproot, "Library", "Internet Plug-Ins", npapi)
dst_panda3d = os.path.join(tmproot, "usr", "bin", panda3d)
dst_panda3d = os.path.join(tmproot, "usr", "local", "bin", panda3d)
dst_panda3dapp = os.path.join(tmproot, "Applications", panda3dapp)
if not os.path.exists(dst_npapi): os.makedirs(os.path.dirname(dst_npapi))
if not os.path.exists(dst_panda3d): os.makedirs(os.path.dirname(dst_panda3d))