mirror of https://github.com/python/cpython
Port of revision 51902 in release25-maint to the trunk
This commit is contained in:
parent
43fd99c8f8
commit
3564c4622f
|
@ -945,6 +945,7 @@ def setIcon(filePath, icnsPath):
|
|||
ref, isDirectory = Carbon.File.FSPathMakeRef(filePath)
|
||||
|
||||
if isDirectory:
|
||||
return
|
||||
tmpPath = os.path.join(filePath, "Icon\r")
|
||||
if not os.path.exists(tmpPath):
|
||||
fp = open(tmpPath, 'w')
|
||||
|
|
|
@ -123,7 +123,8 @@ def main():
|
|||
makescript(GXX_SCRIPT, "g++")
|
||||
# Finally fix the makefile
|
||||
rv = fix(MAKEFILE, do_apply)
|
||||
sys.exit(rv)
|
||||
#sys.exit(rv)
|
||||
sys.exit(0)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue