Skip to content

Commit

Permalink
database import: Follow redirects in curl call (#6334)
Browse files Browse the repository at this point in the history
Co-authored-by: Arlo Siemsen <arsiem@microsoft.com>
  • Loading branch information
Turbo87 and arlosi authored Apr 14, 2023
1 parent 6951717 commit ca6b8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/import-database-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -f "$TARBALL_PATH" ]; then
echo "Skipping https://static.crates.io/db-dump.tar.gz download since it exists already "
else
echo "Downloading https://static.crates.io/db-dump.tar.gz to the 'tmp' folder"
curl https://static.crates.io/db-dump.tar.gz --output $TARBALL_PATH
curl https://static.crates.io/db-dump.tar.gz -L --output $TARBALL_PATH
fi

if [ -d "$DUMP_PATH" ]; then
Expand Down

0 comments on commit ca6b8af

Please sign in to comment.