From d3c257b0aed1f6c0d541659539f27aca5c5bc25a Mon Sep 17 00:00:00 2001 From: varkor Date: Wed, 16 May 2018 23:08:19 +0100 Subject: [PATCH] Use the correct output directory for downloading Unicode files --- src/libcore/unicode/unicode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcore/unicode/unicode.py b/src/libcore/unicode/unicode.py index 5b3c181ea9b..ce22c6f226a 100755 --- a/src/libcore/unicode/unicode.py +++ b/src/libcore/unicode/unicode.py @@ -66,8 +66,7 @@ surrogate_codepoints = (0xd800, 0xdfff) def fetch(f): path = fdir + os.path.basename(f) if not os.path.exists(path): - os.system("curl -O http://www.unicode.org/Public/UNIDATA/%s" - % f) + os.system("curl -o {0}{1} http://www.unicode.org/Public/UNIDATA/{1}".format(fdir, f)) if not os.path.exists(path): sys.stderr.write("cannot load %s" % f)