aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mat.rb2
-rw-r--r--Library/Formula/rpm.rb2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/Library/Formula/rpm.rb b/Library/Formula/rpm.rb
index b07263d7c..0d685c9c4 100644
--- a/Library/Formula/rpm.rb
+++ b/Library/Formula/rpm.rb
@@ -7,7 +7,7 @@ class RpmDownloadStrategy < CurlDownloadStrategy
end
def stage
- safe_system "rpm2cpio.pl <#{tarball_path} | cpio -vi #{@tarball_name}"
+ safe_system "rpm2cpio.pl <#{cached_location} | cpio -vi #{@tarball_name}"
safe_system "/usr/bin/tar -xzf #{@tarball_name} && rm #{@tarball_name}"
chdir
end