Skip to content

Commit

Permalink
Allow curl to follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Aug 31, 2018
1 parent 9cd0eb1 commit c1a7371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.3/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NOMINATIM_GS_BUCKET=${NOMINATIM_GS_BUCKET:=""}
if [ "$NOMINATIM_MODE" == "CREATE" ]; then

# Retrieve the PBF file
curl $NOMINATIM_PBF_URL --create-dirs -o $NOMINATIM_DATA_PATH/$NOMINATIM_DATA_LABEL.osm.pbf
curl -L $NOMINATIM_PBF_URL --create-dirs -o $NOMINATIM_DATA_PATH/$NOMINATIM_DATA_LABEL.osm.pbf
# Allow user accounts read access to the data
chmod 755 $NOMINATIM_DATA_PATH

Expand Down

0 comments on commit c1a7371

Please sign in to comment.