diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py
index a90e838b6c..b9d9074c3d 100755
--- a/makepanda/makepanda.py
+++ b/makepanda/makepanda.py
@@ -6781,17 +6781,18 @@ def MakeInstallerOSX():
# On OSX, just specifying -P is not enough to do that.
oscmd("cp -R -P " + GetOutputDir() + "/" + base + " " + libname)
- oscmd("mkdir -p dstroot/tools/Developer/Tools/Panda3D")
- oscmd("mkdir -p dstroot/tools/Developer/Panda3D")
+ oscmd("mkdir -p dstroot/tools/Developer/Panda3D/bin")
+ oscmd("mkdir -p dstroot/tools/Developer/Tools")
+ oscmd("ln -s ../Panda3D/bin dstroot/tools/Developer/Tools/Panda3D")
oscmd("mkdir -p dstroot/tools/etc/paths.d")
# Trailing newline is important, works around a bug in OSX
- WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Tools/Panda3D\n")
+ WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Panda3D/bin\n")
oscmd("mkdir -p dstroot/tools/usr/local/share/man/man1")
oscmd("cp doc/man/*.1 dstroot/tools/usr/local/share/man/man1/")
for base in os.listdir(GetOutputDir()+"/bin"):
- binname = "dstroot/tools/Developer/Tools/Panda3D/" + base
+ binname = "dstroot/tools/Developer/Panda3D/bin/" + base
# OSX needs the -R argument to copy symbolic links correctly, it doesn't have -d. How weird.
oscmd("cp -R " + GetOutputDir() + "/bin/" + base + " " + binname)
@@ -6882,7 +6883,7 @@ def MakeInstallerOSX():
dist.write(' \n')
dist.write(' \n')
dist.write(' \n')
- dist.write(' \n')
+ dist.write(' \n')
dist.write(' \n')
dist.write(' \n')
if PkgSkip("PYTHON")==0: