aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-01 03:46:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-01 03:46:59 +0000
commitbc3081d41759ed4aead52061921ba1461b50a7f6 (patch)
treedc1d52c074627d94af6c807118572b9047b161f6
parent84641f265385f1fdacd135a16304762db59e9862 (diff)
downloadruby-bc3081d41759ed4aead52061921ba1461b50a7f6.tar.gz
common.mk (UNICODE_DOWNLOAD): set cache directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 840875b125..2eddfa53f6 100644
--- a/common.mk
+++ b/common.mk
@@ -1174,9 +1174,11 @@ UNICODE_PROPERTY_FILES = \
update-unicode: $(UNICODE_FILES)
+CACHE_DIR = $(srcdir)/.downloaded-cache
UNICODE_DOWNLOAD = \
- $(BASERUBY) -C "$(srcdir)" tool/downloader.rb \
- -d $(UNICODE_DATA_DIR) \
+ $(BASERUBY) $(srcdir)/tool/downloader.rb \
+ --cache-dir=$(CACHE_DIR) \
+ -d $(srcdir)/$(UNICODE_DATA_DIR) \
-p $(UNICODE_VERSION)/ucd \
-e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode