[382] trunk/darwinbuild/installXcode
Revision: 382 http://trac.macosforge.org/projects/darwinbuild/changeset/382 Author: wsiegrist@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
participants (1)
-
source_changes@macosforge.org