aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openconnect.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/openconnect.rb b/Library/Formula/openconnect.rb
index 4716e369a..69c078894 100644
--- a/Library/Formula/openconnect.rb
+++ b/Library/Formula/openconnect.rb
@@ -32,10 +32,9 @@ class Openconnect < Formula
chmod 0755, "#{etc}/vpnc-script"
if build.head?
- ln_s cached_download/".git", ".git"
- cp "autogen.sh", "autogen_modified.sh"
- inreplace "autogen_modified.sh", /libtoolize/, "glibtoolize"
- system "./autogen_modified.sh"
+ ENV["GIT_DIR"] = cached_download/".git"
+ ENV["LIBTOOLIZE"] = "glibtoolize"
+ system "./autogen.sh"
end
args = %W[