diff options
| author | Max Howell | 2012-08-29 11:29:05 -0400 | 
|---|---|---|
| committer | Max Howell | 2012-08-29 11:29:05 -0400 | 
| commit | 9615b760a4ac60d0dd909899339bdf6a4e77efee (patch) | |
| tree | 0e8ffa090764e1806919894147521a4156b610bd /install | |
| parent | ff9a35d980dd80f93883344a7cb278eeee5175f6 (diff) | |
| download | homebrew-9615b760a4ac60d0dd909899339bdf6a4e77efee.tar.bz2 | |
Fix xcrun usage
Fixes #14511.
Diffstat (limited to 'install')
| -rw-r--r-- | install | 5 | 
1 files changed, 3 insertions, 2 deletions
| @@ -62,8 +62,9 @@ def git      ENV['GIT']    elsif Kernel.system '/usr/bin/which -s git'      'git' -  elsif Kernel.system 'xcrun -find git 2>&1 >/dev/null' -    %w[xcrun git] +  else +    s = `xcrun -find git 2>/dev/null`.chomp +    s if $? and not s.empty?    end  end | 
