From 67b487f2cc403b1a984419a2ff904428b4dad0ba Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 16 Dec 2014 20:47:40 -0500 Subject: l-smash: set GIT_DIR instead of symlinking --- Library/Formula/l-smash.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/l-smash.rb b/Library/Formula/l-smash.rb index 14b4cf589..b96f64bd4 100644 --- a/Library/Formula/l-smash.rb +++ b/Library/Formula/l-smash.rb @@ -13,12 +13,8 @@ class LSmash < Formula end def install - args = ["--prefix=#{prefix}", "--enable-shared"] - - # For getting version information correctly in the configure - buildpath.install_symlink cached_download/".git" - - system "./configure", *args + ENV["GIT_DIR"] = cached_download/".git" + system "./configure", "--prefix=#{prefix}", "--enable-shared" system "make", "install" end -- cgit v1.2.3