mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
scripts: Tell curl to follow redirects
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user