From e57ed540e638da67259f59fede9dd43da920cf3b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 15 Aug 2011 21:18:14 -0400 Subject: [PATCH] GYP Support python 2.5.2 --- tools/gyp/pylib/gyp/generator/make.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py index 986298441e..5a4b96ef47 100644 --- a/tools/gyp/pylib/gyp/generator/make.py +++ b/tools/gyp/pylib/gyp/generator/make.py @@ -2311,7 +2311,8 @@ def GenerateOutput(target_list, target_dicts, data, params): if os.path.exists(mactool_path): os.remove(mactool_path) CopyMacTool(mactool_path) - os.chmod(mactool_path, 0o755) # Make file executable. + os.chmod(mactool_path, stat.S_IRWXU | stat.S_IRGRP | stat.S_IWGRP | + stat.S_IROTH | stat.S_IWOTH) # Make file executable. # Find the list of targets that derive from the gyp file(s) being built. needed_targets = set()