Skip to content

Commit

Permalink
add flag to follow server redirects for curl
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybreckon committed Sep 22, 2019
1 parent 45a94d9 commit ef2e5db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion download-dataset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mkdir -p $DIR_LOCAL_TARGET

TARGET=./$DIR_LOCAL_TARGET/$FILE_NAME

curl -k $URL > $TARGET
curl -L -k $URL > $TARGET

################################################################################

Expand Down
2 changes: 1 addition & 1 deletion download-models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mkdir -p $MODEL_DIR_LOCAL_TARGET

MODELS=./$MODEL_DIR_LOCAL_TARGET/$MODELS_FILE_NAME

curl -k $URL_MODELS > $MODELS
curl -L -k $URL_MODELS > $MODELS

################################################################################

Expand Down

0 comments on commit ef2e5db

Please sign in to comment.