diff options
| author | Adam Vandenberg | 2010-07-01 19:03:04 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-07-01 19:03:04 -0700 | 
| commit | a10115a3f49b88eb03920eb98c6393b4041dbbe8 (patch) | |
| tree | 455ad3c129fd7225b6bb7ca73a69ed81c3468187 /Library/Formula/coreutils.rb | |
| parent | ce4428833b34694417d025f7a37b0e6411cd3d9f (diff) | |
| download | homebrew-a10115a3f49b88eb03920eb98c6393b4041dbbe8.tar.bz2 | |
Update coreutils to 8.5 and silence constant warning.
Diffstat (limited to 'Library/Formula/coreutils.rb')
| -rw-r--r-- | Library/Formula/coreutils.rb | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/coreutils.rb b/Library/Formula/coreutils.rb index 4e249300e..8fc779d30 100644 --- a/Library/Formula/coreutils.rb +++ b/Library/Formula/coreutils.rb @@ -1,6 +1,7 @@  require 'formula' -COREUTILS_ALIASES=<<-EOS +def coreutils_aliases +<<-EOS  brew_prefix=`brew --prefix`  alias base64="$brew_prefix/bin/gbase64"  alias basename="$brew_prefix/bin/gbasename" @@ -100,17 +101,18 @@ alias whoami="$brew_prefix/bin/gwhoami"  alias yes="$brew_prefix/bin/gyes"  alias '['="$brew_prefix/bin/g["  EOS +end  class Coreutils <Formula -  @url="http://ftp.gnu.org/gnu/coreutils/coreutils-7.5.tar.gz" -  @md5='775351410b7d6879767c3e4563354dc6' -  @homepage='http://www.gnu.org/software/coreutils' +  url "http://ftp.gnu.org/gnu/coreutils/coreutils-8.5.tar.gz" +  md5 'c1ffe586d001e87d66cd80c4536ee823' +  homepage 'http://www.gnu.org/software/coreutils'    def install      # Note this doesn't work right now as I have broken the install process      # slightly so it errors out.      if ARGV.include? '--aliases' -      puts COREUTILS_ALIASES +      puts coreutils_aliases        exit 0      end  | 
