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 <abelur@linuxfoundation.org>
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