]> granicus.if.org Git - python/commitdiff
Port of revision 51902 in release25-maint to the trunk
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Sep 2006 18:42:53 +0000 (18:42 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Sep 2006 18:42:53 +0000 (18:42 +0000)
Mac/BuildScript/build-installer.py
Mac/Tools/fixapplepython23.py

index 083209b2c2cbba33be94340545eacfca03466137..a581814c8d4ee4ed671df08067c63f7e0506d057 100755 (executable)
@@ -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')
index fb8645a629b74de93cc10fe9c0e30985e3321b59..6ba54019f0773e5f29bd1bc329aabf96a1e439eb 100644 (file)
@@ -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()