[darwinbuild-changes] [382] trunk/darwinbuild/installXcode

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 12 18:18:11 PDT 2008


Revision: 382
          http://trac.macosforge.org/projects/darwinbuild/changeset/382
Author:   wsiegrist at apple.com
Date:     2008-08-12 18:18:11 -0700 (Tue, 12 Aug 2008)
Log Message:
-----------
Improve Xcode version detection

Modified Paths:
--------------
    trunk/darwinbuild/installXcode

Modified: trunk/darwinbuild/installXcode
===================================================================
--- trunk/darwinbuild/installXcode	2008-07-19 01:27:56 UTC (rev 381)
+++ trunk/darwinbuild/installXcode	2008-08-13 01:18:11 UTC (rev 382)
@@ -3,7 +3,7 @@
 BINDIR=/usr/local/share/darwinbuild
 
 BROOT=$1
-VER=$(/usr/bin/xcodebuild -version | cut -d "-" -f 2 | cut -d ";" -f 1 | tail -1 | cut -d "." -f 1)
+VER=$(/usr/bin/xcodebuild -version | grep version | cut -d "-" -f 2 | cut -d ";" -f 1 | cut -d "." -f 1)
 
 if [ "$VER" -gt "920" ];
 then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20080812/70c2ce48/attachment.html 


More information about the darwinbuild-changes mailing list