aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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}