mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Fix Mac build, patch #1091 by Humberto Diogenes.
This commit is contained in:
parent
e4ac7504c9
commit
c76473d887
8 changed files with 18 additions and 16 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue