From 576258a00a6bf0ca29a3c32f79e4d52ed7a57cd0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 10 Dec 2014 00:53:57 -0500 Subject: Prefer cached_location over tarball_path --- Library/Formula/mat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/mat.rb') diff --git a/Library/Formula/mat.rb b/Library/Formula/mat.rb index df36ab2fa..b2bb67ea2 100644 --- a/Library/Formula/mat.rb +++ b/Library/Formula/mat.rb @@ -5,7 +5,7 @@ require "formula" # into "mat-cli" here. class MatDownloadStrategy < CurlDownloadStrategy def stage - with_system_path { safe_system "#{xzpath} -dc \"#{tarball_path}\" | tar xf - -s ',/mat$,/mat-cli,'" } + with_system_path { safe_system "#{xzpath} -dc \"#{cached_location}\" | tar xf - -s ',/mat$,/mat-cli,'" } chdir end end -- cgit v1.2.3