From: Aarni Koskela Date: Sun, 20 Dec 2015 21:51:18 +0000 (+0200) Subject: download_import_cldr: unzip into versioned dir X-Git-Tag: 2.2.0~1^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8515aae11b2faf4ab81c7412df3d89ee65c6ec;p=thirdparty%2Fbabel.git download_import_cldr: unzip into versioned dir --- diff --git a/scripts/download_import_cldr.py b/scripts/download_import_cldr.py index f8ba1fa9..f9523aac 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):