diff options
| author | Jack Nagel | 2014-10-26 22:30:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-26 22:30:28 -0500 |
| commit | 29ba8d8533eb586f0c25638686388f80c9074710 (patch) | |
| tree | 0a5c8c175bcb2c3ca2b929a8f178f45687210769 /Library/Formula/git-flow-avh.rb | |
| parent | ad8be31f74a86c2cc16a25550dc1f47054c71a8e (diff) | |
| download | homebrew-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.rb | 2 |
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 |
