From fe019ad2ed5992ca34cf2b3e43588fa36f4ededc Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 18 Nov 2013 22:19:42 -0800 Subject: xctool: fix head build Closes #24454 --- Library/Formula/xctool.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Library/Formula/xctool.rb') diff --git a/Library/Formula/xctool.rb b/Library/Formula/xctool.rb index b30be8fb8..adc3ef7b5 100644 --- a/Library/Formula/xctool.rb +++ b/Library/Formula/xctool.rb @@ -10,7 +10,11 @@ class Xctool < Formula depends_on :macos => :lion def install - system "./build.sh 'XT_INSTALL_ROOT=#{libexec}'" + if build.head? + system "./scripts/build.sh 'XT_INSTALL_ROOT=#{libexec}'" + else + system "./build.sh 'XT_INSTALL_ROOT=#{libexec}'" + end bin.install_symlink "#{libexec}/bin/xctool" end -- cgit v1.2.3