summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-09-17 18:42:53 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-09-17 18:42:53 (GMT)
commit3564c4622fb5c3bb654bafd8b0169a7244c3f39c (patch)
tree2a6e3b7e7cbc4df9b9668a9c15d593a8c9b05166 /Mac/BuildScript
parent43fd99c8f83868285422e277c7b4d7265102d41a (diff)
downloadcpython-3564c4622fb5c3bb654bafd8b0169a7244c3f39c.zip
cpython-3564c4622fb5c3bb654bafd8b0169a7244c3f39c.tar.gz
cpython-3564c4622fb5c3bb654bafd8b0169a7244c3f39c.tar.bz2
Port of revision 51902 in release25-maint to the trunk
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/build-installer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 083209b..a581814 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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')