diff options
| author | Mike McQuaid | 2011-01-16 15:21:16 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-16 15:25:51 +0000 |
| commit | bbf04fd417072c53810c2e4163f2bdd80f23ef83 (patch) | |
| tree | cbd868375904c21b0f016575d50f23eb8e51916d | |
| parent | 0eef42c322c4deb2e986293cdf4e6d6e3f06d1c6 (diff) | |
| download | homebrew-bbf04fd417072c53810c2e4163f2bdd80f23ef83.tar.bz2 | |
gnu-sed: remove unnecessary function declaration.
| -rw-r--r-- | Library/Formula/gnu-sed.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/gnu-sed.rb b/Library/Formula/gnu-sed.rb index 99712a4fa..82f6cca89 100644 --- a/Library/Formula/gnu-sed.rb +++ b/Library/Formula/gnu-sed.rb @@ -1,9 +1,5 @@ require 'formula' -def use_default_names? - ARGV.include? '--default-names' -end - class GnuSed <Formula url 'http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2' homepage 'http://www.gnu.org/software/sed/' @@ -15,7 +11,7 @@ class GnuSed <Formula def install args = ["--prefix=#{prefix}", "--disable-dependency-tracking"] - args << "--program-prefix=g" unless use_default_names? + args << "--program-prefix=g" unless ARGV.include? '--default-names' system "./configure", *args system "make install" |
