diff options
| author | Charlie Sharpsteen | 2011-09-02 13:16:52 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-02 13:18:56 -0700 |
| commit | 6fcbc40af30917da918d0a2f7a5248a25ffc8cc9 (patch) | |
| tree | d79eff0595ee112ac89bec4474fcaea339cca26b /Library | |
| parent | fa3eeeeb9746829955d4a1abe9f7e38910312bc8 (diff) | |
| download | homebrew-6fcbc40af30917da918d0a2f7a5248a25ffc8cc9.tar.bz2 | |
STar: Remove symlinks conflicting with OS X tar
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/star.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/star.rb b/Library/Formula/star.rb index 37ab12350..19dbe52a9 100644 --- a/Library/Formula/star.rb +++ b/Library/Formula/star.rb @@ -10,5 +10,10 @@ class Star < Formula def install system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "MANDIR=share/man" system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "MANDIR=share/man", "install" + + # Remove symlinks that override built-in utilities + Dir.chdir bin do + Pathname.glob(%w[gnutar tar]) {|p| p.unlink} + end end end |
