diff options
author | Georg Brandl <georg@python.org> | 2007-09-03 07:27:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-03 07:27:49 (GMT) |
commit | c76473d887c446dd9693f6549a59bff53b4d5ef6 (patch) | |
tree | 023b4d4cf56a080655082277f606efacaa0bcf99 /Mac/Tools/fixapplepython23.py | |
parent | e4ac7504c9fb005d81c710bff40777dc170694a8 (diff) | |
download | cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.zip cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.gz cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.bz2 |
Fix Mac build, patch #1091 by Humberto Diogenes.
Diffstat (limited to 'Mac/Tools/fixapplepython23.py')
-rw-r--r-- | Mac/Tools/fixapplepython23.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/fixapplepython23.py b/Mac/Tools/fixapplepython23.py index 01a09b5..b0916e8 100644 --- a/Mac/Tools/fixapplepython23.py +++ b/Mac/Tools/fixapplepython23.py @@ -80,11 +80,11 @@ def makescript(filename, compiler): """Create a wrapper script for a compiler""" dirname = os.path.split(filename)[0] if not os.access(dirname, os.X_OK): - os.mkdir(dirname, 0755) + os.mkdir(dirname, 0o755) fp = open(filename, 'w') fp.write(SCRIPT % compiler) fp.close() - os.chmod(filename, 0755) + os.chmod(filename, 0o755) print('fixapplepython23: Created', filename) def main(): |