diff options
| -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 |
