aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-04-02 09:50:44 -0500
committerJack Nagel2014-04-02 09:50:44 -0500
commitc25611d990e8512d9c5aa3b71fbaedbe2be2bb20 (patch)
tree79f2414919fc87b34b16d0983ca0f7a2f219172c
parent77c066e9ac641ad23d4c5360a92ba68a7bffd722 (diff)
downloadhomebrew-c25611d990e8512d9c5aa3b71fbaedbe2be2bb20.tar.bz2
curl: test against the correct curl
curl is keg-only, and this test was running against the system curl.
-rw-r--r--Library/Formula/curl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb
index e109a912e..379874221 100644
--- a/Library/Formula/curl.rb
+++ b/Library/Formula/curl.rb
@@ -69,7 +69,7 @@ class Curl < Formula
# Fetch the curl tarball and see that the checksum matches.
# This requires a network connection, but so does Homebrew in general.
filename = (testpath/"test.tar.gz")
- system "curl", stable.url, "-o", filename
+ system "#{bin}/curl", stable.url, "-o", filename
filename.verify_checksum stable.checksum
end
end