mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
work around a bug in OSX regarding garbled $PATH
This commit is contained in:
parent
8696f5c3fe
commit
cc5c26743c
@ -5489,7 +5489,9 @@ def MakeInstallerOSX():
|
|||||||
oscmd("mkdir -p dstroot/tools/Developer/Tools/Panda3D")
|
oscmd("mkdir -p dstroot/tools/Developer/Tools/Panda3D")
|
||||||
oscmd("mkdir -p dstroot/tools/Developer/Panda3D")
|
oscmd("mkdir -p dstroot/tools/Developer/Panda3D")
|
||||||
oscmd("mkdir -p dstroot/tools/etc/paths.d")
|
oscmd("mkdir -p dstroot/tools/etc/paths.d")
|
||||||
WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Tools/Panda3D")
|
# Trailing newline is important, works around a bug in OSX
|
||||||
|
WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Tools/Panda3D\n")
|
||||||
|
|
||||||
for base in os.listdir(GetOutputDir()+"/bin"):
|
for base in os.listdir(GetOutputDir()+"/bin"):
|
||||||
binname = "dstroot/tools/Developer/Tools/Panda3D/" + base
|
binname = "dstroot/tools/Developer/Tools/Panda3D/" + base
|
||||||
# OSX needs the -R argument to copy symbolic links correctly, it doesn't have -d. How weird.
|
# OSX needs the -R argument to copy symbolic links correctly, it doesn't have -d. How weird.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user