2
0
Эх сурвалжийг харах

accidentally chmodded the wrong dir...
need moarrrr coffee

rdb 17 жил өмнө
parent
commit
d82cb0cfe1

+ 2 - 1
doc/makepanda/makepanda.py

@@ -3638,7 +3638,8 @@ 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 444 Panda3D-tpl-rw/Panda3D/"+VERSION+"/samples")
+      oscmd("chmod -R 444 Panda3D-tpl-rw/Panda3D/"+VERSION+"/models")
+      if os.path.isdir("samples"):   oscmd("chmod -R 555 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)