mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Suggested change from Nemesis13
This commit is contained in:
parent
f9f21384db
commit
99764f8e2a
@ -3568,6 +3568,7 @@ def MakeInstallerLinux():
|
||||
compileall.compile_dir("linuxroot/usr/share/panda3d/Pmw")
|
||||
DeleteCVS("linuxroot")
|
||||
oscmd("chmod -R 555 linuxroot/usr/share/panda3d")
|
||||
oscmd("chmod -R 444 linuxroot/usr/share/panda3d/models")
|
||||
|
||||
if (os.path.exists("/usr/bin/dpkg-deb")):
|
||||
txt = INSTALLER_DEB_FILE[1:].replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH)
|
||||
@ -3637,7 +3638,7 @@ def MakeInstallerOSX():
|
||||
compileall.compile_dir("Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/Pmw")
|
||||
oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/direct")
|
||||
oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/pandac")
|
||||
if os.path.isdir("samples"): oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/samples")
|
||||
if os.path.isdir("samples"): oscmd("chmod -R 444 Panda3D-tpl-rw/Panda3D/"+VERSION+"/samples")
|
||||
if os.path.isdir("built/Pmw"): oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/Pmw")
|
||||
except: # Make sure the dmg gets unmounted even when error occurs
|
||||
oscmd("hdiutil detach Panda3D-tpl-rw -quiet -force", True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user