Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/mkunidata')
-rwxr-xr-xnewlib/libc/string/mkunidata6
1 files changed, 4 insertions, 2 deletions
diff --git a/newlib/libc/string/mkunidata b/newlib/libc/string/mkunidata
index 7ebebeb07..7b6135f8d 100755
--- a/newlib/libc/string/mkunidata
+++ b/newlib/libc/string/mkunidata
@@ -21,11 +21,13 @@ case "$1" in
;;
-u)
wget () {
- curl -R -O --connect-timeout 55 -z "`basename $1`" "$1"
+ ref=`basename $1`
+ ref=`ls "$ref" 2> /dev/null || echo 01-Jan-1970`
+ curl -R -O --connect-timeout 55 -z "$ref" "$1"
}
echo downloading uniset tool
- wget http://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz
+ wget https://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz
gzip -dc uniset.tar.gz | tar xvf - uniset
echo downloading data from unicode.org