From 2b26ef1e3408d61bbe97ba3c0c7aa18a2607b427 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 15 Sep 2014 12:54:30 +0000 Subject: [PATCH] Python 2.5 has no 0o### number syntax --- direct/src/plugin_installer/make_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/plugin_installer/make_installer.py b/direct/src/plugin_installer/make_installer.py index 5846e05955..f98950026e 100755 --- a/direct/src/plugin_installer/make_installer.py +++ b/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')