diff options
-rw-r--r-- | tool/downloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index 9ea9899682..335fe97762 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -185,7 +185,7 @@ class Downloader raise end mtime = nil - dest = (cache && !cache.exist? ? cache : file) + dest = (cache_save && cache && !cache.exist? ? cache : file) dest.parent.mkpath dest.open("wb", 0600) do |f| f.write(data) |