Ver Fonte

Python 2.5 has no 0o### number syntax

rdb há 11 anos atrás
pai
commit
2b26ef1e34
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      direct/src/plugin_installer/make_installer.py

+ 1 - 1
direct/src/plugin_installer/make_installer.py

@@ -441,7 +441,7 @@ def makeInstaller():
         if not os.path.exists(dst_panda3dapp): os.makedirs(os.path.dirname(dst_panda3dapp))
         shutil.copytree(pluginFiles[npapi], dst_npapi)
         shutil.copyfile(pluginFiles[panda3d], dst_panda3d)
-        os.chmod(dst_panda3d, 0o755)
+        os.chmod(dst_panda3d, 493) # 0o755
         shutil.copytree(pluginFiles[panda3dapp], dst_panda3dapp)
         
         tmpresdir = tempfile.mktemp('', 'p3d-resources')