Title: [commits] (bear) [11155] Updating distribution code to build iosx tagged bundles when run on Intel Mac
Revision
11155
Author
bear
Date
2006-07-13 16:23:24 -0700 (Thu, 13 Jul 2006)

Log Message

Updating distribution code to build iosx tagged bundles when run on Intel Mac

Modified Paths

Diff

Modified: trunk/chandler/__hardhat__.py (11154 => 11155)

--- trunk/chandler/__hardhat__.py	2006-07-13 22:35:51 UTC (rev 11154)
+++ trunk/chandler/__hardhat__.py	2006-07-13 23:23:24 UTC (rev 11155)
@@ -1,4 +1,4 @@
-import os, hardhatlib, hardhatutil, sys
+import os, hardhatlib, hardhatutil, sys, platform
 
 info = {
         'name':'chandler',
@@ -30,8 +30,10 @@
 
     if buildenv['version'] == 'debug':
         if buildenv['os'] == 'osx':
-
-            distName = 'Chandler_osx_debug_' + buildName
+            if platform.processor() == 'i386':
+                distName = 'Chandler_iosx_debug_' + buildName
+            else:
+                distName = 'Chandler_osx_debug_' + buildName
             # when we make an osx distribution, we actually need to put it
             # in a subdirectory (which has a .app extension).  So we set
             # 'distdir' temporarily to that .app dir so that handleManifest()
@@ -118,8 +120,10 @@
             installTargetFile = hardhatlib.makeInstaller(buildenv, [distName], distName, majorVersion, minorVersion, releaseVersion)
 
         if buildenv['os'] == 'osx':
-
-            distName = 'Chandler_osx_' + buildName
+            if platform.processor() == 'i386':
+                distName = 'Chandler_iosx_' + buildName
+            else:
+                distName = 'Chandler_osx_' + buildName
             # when we make an osx distribution, we actually need to put it
             # in a subdirectory (which has a .app extension).  So we set
             # 'distdir' temporarily to that .app dir so that handleManifest()




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

Reply via email to