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/fsh.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/fsh.rb')
| -rw-r--r-- | Library/Formula/fsh.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/fsh.rb b/Library/Formula/fsh.rb index ce8678c66..8e7cf8245 100644 --- a/Library/Formula/fsh.rb +++ b/Library/Formula/fsh.rb @@ -13,9 +13,8 @@ class Fsh <Formula system "make install" cd bin do - inreplace "fsh", "#! /usr/local/bin/python", "#!/usr/bin/env python" - inreplace "fshd", "#! /usr/local/bin/python", "#!/usr/bin/env python" - inreplace "in.fshd", "#! /usr/local/bin/python", "#!/usr/bin/env python" + inreplace ["fsh", "fshd", "in.fshd"], + "#! /usr/local/bin/python", "#!/usr/bin/env python" end end end |
