From ef2e5dbf42339d276de56bb4fedadc593352e011 Mon Sep 17 00:00:00 2001 From: Toby Breckon Date: Sun, 22 Sep 2019 19:48:59 +0100 Subject: [PATCH] add flag to follow server redirects for curl --- download-dataset.sh | 2 +- download-models.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/download-dataset.sh b/download-dataset.sh index 365fe87..8041e23 100644 --- a/download-dataset.sh +++ b/download-dataset.sh @@ -39,7 +39,7 @@ mkdir -p $DIR_LOCAL_TARGET TARGET=./$DIR_LOCAL_TARGET/$FILE_NAME -curl -k $URL > $TARGET +curl -L -k $URL > $TARGET ################################################################################ diff --git a/download-models.sh b/download-models.sh index 452ac74..696664f 100644 --- a/download-models.sh +++ b/download-models.sh @@ -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 ################################################################################