summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk2
-rw-r--r--tool/downloader.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index c99c4f91e1..e1beb19462 100644
--- a/common.mk
+++ b/common.mk
@@ -1092,7 +1092,7 @@ update-gems: PHONY
update-unicode: PHONY
$(ECHO) Downloading Unicode data files...
$(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \
- ../../../tool/downloader.rb -e unicode \
+ ../../../tool/downloader.rb unicode \
UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt
enc/unicode/data/UnicodeData.txt \
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 4466e53fb9..0a6a9c5056 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} ... "