Revision
3624
Author
sagen@apple.com
Date
2009-01-29 10:10:04 -0800 (Thu, 29 Jan 2009)

Log Message

Base the build architecture list on the python library instead of /usr/lib/libSystem.dylib

Modified Paths

Diff

Modified: CalendarServer/trunk/support/submit (3623 => 3624)


--- CalendarServer/trunk/support/submit	2009-01-29 17:48:41 UTC (rev 3623)
+++ CalendarServer/trunk/support/submit	2009-01-29 18:10:04 UTC (rev 3624)
@@ -172,7 +172,7 @@
   fi;
 
   sudo ~rc/bin/buildit "${wc}" CALENDARSERVER_CACHE_DEPS="${CALENDARSERVER_CACHE_DEPS-${wd}/.dependencies}" \
-    $(file /usr/lib/libSystem.dylib | sed -n -e 's|^.*(for architecture \([^)][^)]*\).*$|-arch \1|p' | sed 's|ppc7400|ppc|') \
+    $(file /System/Library/Frameworks/Python.framework/Versions/Current/Python | sed -n -e 's|^.*(for architecture \([^)][^)]*\).*$|-arch \1|p' | sed 's|ppc7400|ppc|') \
     -release SnowLeopard \
     ${merge_flags};