From 19d36c765fdf00be749d95b3e61028bc302d6d73 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 2 Oct 2024 12:35:26 +0100 Subject: [PATCH] scripts: Only download kernel binaries if changed Only download the kernel binaries from the github release if the remote file is newer (avoids multiple copies accumulating in the download directory.) Signed-off-by: Rob Bradford --- scripts/test-util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-util.sh b/scripts/test-util.sh index 829b1b009..2c0ff9544 100644 --- a/scripts/test-util.sh +++ b/scripts/test-util.sh @@ -143,7 +143,7 @@ download_linux() { fi pushd "$WORKLOADS_DIR" || exit for url in $KERNEL_URLS; do - wget --quiet "$url" || exit 1 + wget -N --quiet "$url" || exit 1 done popd || exit