diff options
| author | Jack Nagel | 2014-12-16 20:47:40 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-16 20:47:40 -0500 |
| commit | 67b487f2cc403b1a984419a2ff904428b4dad0ba (patch) | |
| tree | 14ebcd3935741fc63361723c275f44910cca2520 /Library | |
| parent | db93a822b2c85f121a3c6520e47287513058693c (diff) | |
| download | homebrew-67b487f2cc403b1a984419a2ff904428b4dad0ba.tar.bz2 | |
l-smash: set GIT_DIR instead of symlinking
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/l-smash.rb | 8 |
1 files changed, 2 insertions, 6 deletions
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 |
