summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-20 13:43:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-20 13:43:45 +0000
commitc7e1545cea78f43f5c96c1d95853d35634f3e222 (patch)
treee025354516d1c01a4768bae439c6dd0d90da7fe2 /tool/downloader.rb
parente64a3869bc8f76023f92a2c203877c6d534d099f (diff)
common.mk: update unicode files every times
* common.mk (update-unicode): remove -e option to force update every builds. * tool/downloader.rb (Downloader.download): return if ims is nil and target file is existing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 4466e53..0a6a9c5 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -54,7 +54,7 @@ class Downloader
# 'UnicodeData.txt', 'enc/unicode/data'
def self.download(url, name, dir = nil, ims = true)
file = dir ? File.join(dir, name) : name
- # return true if ims.nil? and File.exist?(file)
+ return true if ims.nil? and File.exist?(file)
url = URI(url)
if $VERBOSE
$stdout.print "downloading #{name} ... "