From e564135ac7e470bebd4eb7ed96b6015e24f1897a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Nov 2014 17:30:52 -0600 Subject: wget: fix HEAD build --- Library/Formula/wget.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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} -- cgit v1.2.3