From 6fcbc40af30917da918d0a2f7a5248a25ffc8cc9 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Fri, 2 Sep 2011 13:16:52 -0700 Subject: STar: Remove symlinks conflicting with OS X tar --- Library/Formula/star.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3