]> granicus.if.org Git - python/commitdiff
fixed stupid bug
authorJust van Rossum <just@letterror.com>
Fri, 22 Nov 2002 00:08:47 +0000 (00:08 +0000)
committerJust van Rossum <just@letterror.com>
Fri, 22 Nov 2002 00:08:47 +0000 (00:08 +0000)
Mac/Lib/bundlebuilder.py

index ffcda5b1c0f13888605d70afce321d4ea44e81f1..0575a46939edee14b17f25267a535d6ed197429b 100755 (executable)
@@ -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: