Title: [commits] (bear) [15982] bug in distribute.py when createing OS X dmg images prevented the image
Revision
15982
Author
bear
Date
2007-11-30 10:57:03 -0800 (Fri, 30 Nov 2007)

Log Message

bug in distribute.py when createing OS X dmg images prevented the image
from actually being seen as a .app

Modified Paths

Diff

Modified: trunk/chandler/Makefile (15981 => 15982)

--- trunk/chandler/Makefile	2007-11-30 18:32:12 UTC (rev 15981)
+++ trunk/chandler/Makefile	2007-11-30 18:57:03 UTC (rev 15982)
@@ -285,7 +285,7 @@
 
 $(addprefix develop-, $(BUILD_LOCALES)):
 	if [ -d "$(C_HOME)/localizations" ]; then \
-	    rm -rf $(C_HOME)/localizations/$(subst develop-,,$@) \
+	    rm -rf $(C_HOME)/localizations/$(subst develop-,,$@) ;\
 	    svn export http://svn.osafoundation.org/localizations/chandler/$(LOCALE_VER)/$(subst develop-,,$@) $(C_HOME)/localizations/$(subst develop-,,$@) ; \
 	fi
 

Modified: trunk/chandler/tools/distribute.py (15981 => 15982)

--- trunk/chandler/tools/distribute.py	2007-11-30 18:32:12 UTC (rev 15981)
+++ trunk/chandler/tools/distribute.py	2007-11-30 18:57:03 UTC (rev 15982)
@@ -135,7 +135,7 @@
                 log('Platform is [%s] -- ignoring tarball request' % options.platformName)
 
         if options.dmg:
-            if options.platformID == 'osx' or options.platformID == 'iosx':
+            if 'osx' in options.platformID:
                 options.distribs.append('dmg')
             else:
                 log('Platform is [%s] -- ignoring dmg request' % options.platformName)
@@ -212,7 +212,7 @@
     # distribDir locally to that .app dir so that handleManifest()
     # puts things in the right place.
 
-    if options.platformID == 'iosx' or options.platformID == 'osx':
+    if 'osx' in options.platformID:
         distribDir = os.path.join(options.distribDir, '%s.app' % options.distribName)
     else:
         distribDir = options.distribDir




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to