xctool: fix head build

Closes #24454
This commit is contained in:
Adam Vandenberg committed 2013-11-18 22:19:42 -08:00
1 parent 5e52262622
commit fe019ad2ed
1 file changed
+5 -1
+5 -1
View File
@@ -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