aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
authorMark Griffiths2014-09-15 16:01:42 +0100
committerJack Nagel2014-09-18 19:07:30 -0500
commit39287e877e0efc930e5414cae6d5dd106d5842cb (patch)
tree4dc1defd46b58f25caf9c2f8c10f5e444451d313 /Library/Formula/fish.rb
parent62b1e9d3bd4af180aa545d13f28f5002568ed2bc (diff)
downloadhomebrew-39287e877e0efc930e5414cae6d5dd106d5842cb.tar.bz2
fish: update for new documentation build process.
Part of an updated documentation build process, the lexicon_filter script's 'sed' shebang is set during make using 'which'. In Homebrew's 'superenv' this will be incorrect as the superenv stub isn't shebangable, so it needs to be rewritten. Closes #32315. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index e36110e4f..de7d8c71a 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -17,7 +17,9 @@ class Fish < Formula
def install
system "autoconf" if build.head?
- system "./configure", "--prefix=#{prefix}"
+ # In Homebrew's 'superenv' sed's path will be incompatible, so
+ # the correct path is passed into configure here.
+ system "./configure", "--prefix=#{prefix}", "SED=/usr/bin/sed"
system "make", "install"
end