From c25611d990e8512d9c5aa3b71fbaedbe2be2bb20 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 2 Apr 2014 09:50:44 -0500 Subject: curl: test against the correct curl curl is keg-only, and this test was running against the system curl. --- Library/Formula/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3