summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2002-11-22 00:08:47 (GMT)
committerJust van Rossum <just@letterror.com>2002-11-22 00:08:47 (GMT)
commit7fd69ad2f11c945cbe362cee4e262cec239d9f6c (patch)
tree9c3ebd199b734da32ea61d6d21e53bb78b267c0b
parent54405456e5c2b76879472051c23e6c1c9f433beb (diff)
downloadcpython-7fd69ad2f11c945cbe362cee4e262cec239d9f6c.zip
cpython-7fd69ad2f11c945cbe362cee4e262cec239d9f6c.tar.gz
cpython-7fd69ad2f11c945cbe362cee4e262cec239d9f6c.tar.bz2
fixed stupid bug
-rwxr-xr-xMac/Lib/bundlebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/bundlebuilder.py b/Mac/Lib/bundlebuilder.py
index ffcda5b..0575a46 100755
--- a/Mac/Lib/bundlebuilder.py
+++ b/Mac/Lib/bundlebuilder.py
@@ -237,7 +237,6 @@ class AppBuilder(BundleBuilder):
self.name = os.path.splitext(os.path.basename(self.executable))[0]
if self.name[-4:] != ".app":
self.name += ".app"
- self.plist.CFBundleExecutable = self.name
if self.nibname:
self.plist.NSMainNibFile = self.nibname
@@ -247,6 +246,7 @@ class AppBuilder(BundleBuilder):
BundleBuilder.setup(self)
def preProcess(self):
+ self.plist.CFBundleExecutable = self.name
resdir = pathjoin("Contents", "Resources")
if self.executable is not None:
if self.mainprogram is None: