Kaydet (Commit) 3564c462 authored tarafından Ronald Oussoren's avatar Ronald Oussoren

Port of revision 51902 in release25-maint to the trunk

üst 43fd99c8
...@@ -945,6 +945,7 @@ def setIcon(filePath, icnsPath): ...@@ -945,6 +945,7 @@ def setIcon(filePath, icnsPath):
ref, isDirectory = Carbon.File.FSPathMakeRef(filePath) ref, isDirectory = Carbon.File.FSPathMakeRef(filePath)
if isDirectory: if isDirectory:
return
tmpPath = os.path.join(filePath, "Icon\r") tmpPath = os.path.join(filePath, "Icon\r")
if not os.path.exists(tmpPath): if not os.path.exists(tmpPath):
fp = open(tmpPath, 'w') fp = open(tmpPath, 'w')
......
...@@ -123,7 +123,8 @@ def main(): ...@@ -123,7 +123,8 @@ def main():
makescript(GXX_SCRIPT, "g++") makescript(GXX_SCRIPT, "g++")
# Finally fix the makefile # Finally fix the makefile
rv = fix(MAKEFILE, do_apply) rv = fix(MAKEFILE, do_apply)
sys.exit(rv) #sys.exit(rv)
sys.exit(0)
if __name__ == '__main__': if __name__ == '__main__':
main() main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment