aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-hg.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-03 15:50:27 -0800
committerAdam Vandenberg2012-03-06 06:53:07 -0800
commit841324b880c4fa5a7e86beca38152e42467598b9 (patch)
tree02f9a25c770c93cc37bdd4a2c0d545e01579f3b3 /Library/Formula/git-hg.rb
parent9cf15ae6dccd02aca662e118354457a3ae070630 (diff)
downloadhomebrew-841324b880c4fa5a7e86beca38152e42467598b9.tar.bz2
use which method
Diffstat (limited to 'Library/Formula/git-hg.rb')
-rw-r--r--Library/Formula/git-hg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git-hg.rb b/Library/Formula/git-hg.rb
index ac2a4b6d9..153062fee 100644
--- a/Library/Formula/git-hg.rb
+++ b/Library/Formula/git-hg.rb
@@ -5,7 +5,7 @@ class GitHg < Formula
homepage 'http://offbytwo.com/git-hg/'
def install
- unless `/usr/bin/which hg`.size > 0
+ unless which 'hg'
puts "You may need to install Mercurial before using this software:"
puts " brew install mercurial"
end