ruby-changes:35975
From: nobu <ko1@a...>
Date: Mon, 20 Oct 2014 22:44:00 +0900 (JST)
Subject: [ruby-changes:35975] nobu:r48056 (trunk): common.mk: update unicode files every times
nobu 2014-10-20 22:43:45 +0900 (Mon, 20 Oct 2014) New Revision: 48056 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48056 Log: 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. Modified files: trunk/common.mk trunk/tool/downloader.rb Index: common.mk =================================================================== --- common.mk (revision 48055) +++ common.mk (revision 48056) @@ -1092,7 +1092,7 @@ update-gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1092 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 \ Index: tool/downloader.rb =================================================================== --- tool/downloader.rb (revision 48055) +++ tool/downloader.rb (revision 48056) @@ -54,7 +54,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L54 # '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} ... " -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/