mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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 <rbradford@rivosinc.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user