diff options
| author | Adam Vandenberg | 2010-02-19 11:19:01 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-21 23:37:49 -0800 |
| commit | aad4dc23ece5869165b23f9637475503d2491db8 (patch) | |
| tree | 733f6c214af986df9db5c04728588fadaae2fbb2 /Library/Formula/zsh.rb | |
| parent | a6caeff4507f4502f5b9d9435ba009564e7c0669 (diff) | |
| download | homebrew-aad4dc23ece5869165b23f9637475503d2491db8.tar.bz2 | |
Use more inreplace features.
Update formulas to make more idiomatic use of "inreplace", including
its new ability to take a list of files to act on.
Diffstat (limited to 'Library/Formula/zsh.rb')
| -rw-r--r-- | Library/Formula/zsh.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb index af5d39dd7..b97acf82e 100644 --- a/Library/Formula/zsh.rb +++ b/Library/Formula/zsh.rb @@ -13,10 +13,9 @@ class Zsh <Formula "--enable-fndir=#{share}/zsh/functions", "--enable-scriptdir=#{share}/zsh/scripts" - # again don't version installation directories - [".", "Src"].each do |f| - inreplace "#{f}/Makefile", "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)" - end + # Again, don't version installation directories + inreplace ["Makefile", "Src/Makefile"], + "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)" system "make install" end |
