From: Anil Belur Date: Sat, 30 Jun 2018 08:47:42 +0000 (+1000) Subject: Add options to continue interrupted downloads X-Git-Tag: v0.15.0~8^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F11624%2F4;p=releng%2Flftools.git Add options to continue interrupted downloads Add support to continue interrupted downloads with `lftools sign deploy-nexus`. This allows to continue partially downloaded files and when used with user specified path (-d). RELENG-929 Change-Id: I58b576cdcea370f4ae1386529b90130140d6840e Signed-off-by: Anil Belur --- diff --git a/shell/sign b/shell/sign index 84a6fc81..5b4a20e7 100755 --- a/shell/sign +++ b/shell/sign @@ -149,6 +149,7 @@ sign_nexus() { echo "Fetching artifacts from $nexus_repo_url to $sign_dir..." if ! wget -nv --recursive --execute robots=off --no-parent \ --no-host-directories --cut-dirs=3 --level=15 \ + --continue --no-remove-listing \ "$nexus_repo_url"; then echo "ERROR: Failed to download artifacts." exit 1