diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt5.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 89dd933ee..49bff7040 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -4,9 +4,9 @@ class Qt5HeadDownloadStrategy < GitDownloadStrategy include FileUtils def stage - @clone.cd { reset } - safe_system "git", "clone", @clone, "." - ln_s @clone, "qt" + cached_location.cd { reset } + safe_system "git", "clone", cached_location, "." + ln_s cached_location, "qt" safe_system "./init-repository", "--mirror", "#{Dir.pwd}/" rm "qt" end |
