diff options
author | James McCoy <jamessan@jamessan.com> | 2017-06-29 17:44:47 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-06-29 20:25:51 -0400 |
commit | 03fc0e3f4110740b95849cfc98d7714dedd1a9dd (patch) | |
tree | 401fa4d09c43f724cec358e5c7dd4386d1ef248a | |
parent | ddea5038e45ec2ef77ad126e5cafd145c5bb393c (diff) | |
download | rneovim-03fc0e3f4110740b95849cfc98d7714dedd1a9dd.tar.gz rneovim-03fc0e3f4110740b95849cfc98d7714dedd1a9dd.tar.bz2 rneovim-03fc0e3f4110740b95849cfc98d7714dedd1a9dd.zip |
scripts: Tell curl to follow redirects
-rwxr-xr-x | scripts/download-unicode-files.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/download-unicode-files.sh b/scripts/download-unicode-files.sh index 5e9efebb43..5f38d0589a 100755 --- a/scripts/download-unicode-files.sh +++ b/scripts/download-unicode-files.sh @@ -22,7 +22,7 @@ UNIDIR=${1:-$UNIDIR_DEFAULT} DOWNLOAD_URL_BASE=${2:-$DOWNLOAD_URL_BASE_DEFAULT} for filename in $data_files ; do - curl -o "$UNIDIR/$filename" "$DOWNLOAD_URL_BASE/UNIDATA/$filename" + curl -L -o "$UNIDIR/$filename" "$DOWNLOAD_URL_BASE/UNIDATA/$filename" ( cd "$UNIDIR" git add $filename @@ -30,7 +30,7 @@ for filename in $data_files ; do done for filename in $emoji_files ; do - curl -o "$UNIDIR/$filename" "$DOWNLOAD_URL_BASE/emoji/latest/$filename" + curl -L -o "$UNIDIR/$filename" "$DOWNLOAD_URL_BASE/emoji/latest/$filename" ( cd "$UNIDIR" git add $filename |