From 4c8515aae11b2faf4ab81c7412df3d89ee65c6ec Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Sun, 20 Dec 2015 23:51:18 +0200 Subject: download_import_cldr: unzip into versioned dir --- scripts/download_import_cldr.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index f8ba1fa..f9523aa 100755 --- a/scripts/download_import_cldr.py +++ b/scripts/download_import_cldr.py @@ -71,8 +71,9 @@ def is_good_file(filename): def main(): scripts_path = os.path.dirname(os.path.abspath(__file__)) repo = os.path.dirname(scripts_path) - cldr_path = os.path.join(repo, 'cldr') - zip_path = os.path.join(cldr_path, FILENAME) + cldr_dl_path = os.path.join(repo, 'cldr') + cldr_path = os.path.join(repo, 'cldr', os.path.splitext(FILENAME)[0]) + zip_path = os.path.join(cldr_dl_path, FILENAME) changed = False while not is_good_file(zip_path): -- cgit v1.2.1