aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-11-18 17:30:52 -0600
committerJack Nagel2014-11-18 18:35:37 -0600
commite564135ac7e470bebd4eb7ed96b6015e24f1897a (patch)
treeddd132dd96295734aa096d89e7e07aedb3a13fdc /Library/Formula
parentead0cc623ff95a10680113e7c4f702a554a8bbfa (diff)
downloadhomebrew-e564135ac7e470bebd4eb7ed96b6015e24f1897a.tar.bz2
wget: fix HEAD build
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wget.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb
index 567f1f978..b64e579a9 100644
--- a/Library/Formula/wget.rb
+++ b/Library/Formula/wget.rb
@@ -33,7 +33,10 @@ class Wget < Formula
depends_on "libidn" if build.with? "iri"
def install
- system "./bootstrap" if build.head?
+ if build.head?
+ ln_s cached_download/".git", ".git"
+ system "./bootstrap"
+ end
args = %W[
--prefix=#{prefix}