From 7ecbff3261adcdc2d1cc80015d2628e63f6a5b2f Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Sat, 30 Jun 2018 18:47:42 +1000 Subject: [PATCH] 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 --- shell/sign | 1 + 1 file changed, 1 insertion(+) 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 -- 2.16.6