aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-flow-avh.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-26 22:30:28 -0500
committerJack Nagel2014-10-26 22:30:28 -0500
commit29ba8d8533eb586f0c25638686388f80c9074710 (patch)
tree0a5c8c175bcb2c3ca2b929a8f178f45687210769 /Library/Formula/git-flow-avh.rb
parentad8be31f74a86c2cc16a25550dc1f47054c71a8e (diff)
downloadhomebrew-29ba8d8533eb586f0c25638686388f80c9074710.tar.bz2
Use opt helpers instead of hardcoded paths
Diffstat (limited to 'Library/Formula/git-flow-avh.rb')
-rw-r--r--Library/Formula/git-flow-avh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git-flow-avh.rb b/Library/Formula/git-flow-avh.rb
index 68e735718..114165e4f 100644
--- a/Library/Formula/git-flow-avh.rb
+++ b/Library/Formula/git-flow-avh.rb
@@ -26,7 +26,7 @@ class GitFlowAvh < Formula
system "make", "prefix=#{libexec}", "install"
(bin/'git-flow').write <<-EOS.undent
#!/bin/bash
- export FLAGS_GETOPT_CMD=#{HOMEBREW_PREFIX}/opt/gnu-getopt/bin/getopt
+ export FLAGS_GETOPT_CMD=#{Formula["gnu-getopt"].opt_bin}/getopt
exec "#{libexec}/bin/git-flow" "$@"
EOS