Skip to content

Commit ca6b8af

Browse files
Turbo87arlosi
andauthored
database import: Follow redirects in curl call (#6334)
Co-authored-by: Arlo Siemsen <arsiem@microsoft.com>
1 parent 6951717 commit ca6b8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/import-database-dump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -f "$TARBALL_PATH" ]; then
1515
echo "Skipping https://static.crates.io/db-dump.tar.gz download since it exists already "
1616
else
1717
echo "Downloading https://static.crates.io/db-dump.tar.gz to the 'tmp' folder"
18-
curl https://static.crates.io/db-dump.tar.gz --output $TARBALL_PATH
18+
curl https://static.crates.io/db-dump.tar.gz -L --output $TARBALL_PATH
1919
fi
2020

2121
if [ -d "$DUMP_PATH" ]; then

0 commit comments

Comments
 (0)