summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-01-13 23:30:04 (GMT)
committerJust van Rossum <just@letterror.com>2003-01-13 23:30:04 (GMT)
commit9896ea24f9dd0ad895f2095b5680fafc901fea6f (patch)
tree02de22d8b395e8ed60d57616fd0920e4713abf19 /Lib
parentddc82ea944d330d517196b363620e0fed5426a16 (diff)
downloadcpython-9896ea24f9dd0ad895f2095b5680fafc901fea6f.zip
cpython-9896ea24f9dd0ad895f2095b5680fafc901fea6f.tar.gz
cpython-9896ea24f9dd0ad895f2095b5680fafc901fea6f.tar.bz2
make sure Info.plist has a CFBundleIdentifier entry
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/plat-mac/bundlebuilder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index 749d851..45642bd 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -127,6 +127,8 @@ class BundleBuilder(Defaults):
else:
self.creator = "????"
plist.CFBundleSignature = self.creator
+ if not hasattr(plist, "CFBundleIdentifier"):
+ plist.CFBundleIdentifier = self.name
def build(self):
"""Build the bundle."""