diff options
| author | Jack Nagel | 2014-12-10 00:53:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-10 00:53:57 -0500 |
| commit | 576258a00a6bf0ca29a3c32f79e4d52ed7a57cd0 (patch) | |
| tree | b3e9e31050bf0ff4d984239cebe667fc5a9bfd4f /Library/Formula/rpm.rb | |
| parent | 0f428cd12ac0a08e7e08bc07a68893a7ed66de0c (diff) | |
| download | homebrew-576258a00a6bf0ca29a3c32f79e4d52ed7a57cd0.tar.bz2 | |
Prefer cached_location over tarball_path
Diffstat (limited to 'Library/Formula/rpm.rb')
| -rw-r--r-- | Library/Formula/rpm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
