diff options
| author | Adam Vandenberg | 2013-11-18 22:19:42 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-18 22:19:42 -0800 |
| commit | fe019ad2ed5992ca34cf2b3e43588fa36f4ededc (patch) | |
| tree | bb8ff3f6c829aacfb42022103b8b7f07fa3f92bf /Library/Formula | |
| parent | 5e522626223d05dd5bbd49aeb98c9558cd0307f4 (diff) | |
| download | homebrew-fe019ad2ed5992ca34cf2b3e43588fa36f4ededc.tar.bz2 | |
xctool: fix head build
Closes #24454
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xctool.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
