From 52f3fd359e04caf9dd7bc89889dfc326f5ae9352 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Wed, 23 Aug 2023 19:20:13 +0100
Subject: [PATCH] blobs/download: copy dl_path, don't move it

moving it defeats the purpose of the caching mechanism
that's in place. this should avoid unnecessary downloads

Signed-off-by: Leah Rowe <leah@libreboot.org>
---
 resources/scripts/update/blobs/download | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/scripts/update/blobs/download b/resources/scripts/update/blobs/download
index f3ba3052..9d623604 100755
--- a/resources/scripts/update/blobs/download
+++ b/resources/scripts/update/blobs/download
@@ -354,7 +354,7 @@ extract_e6400vga()
 		rm -Rf ${appdir}
 
 	mkdir -p "${appdir}"
-	mv "${dl_path}" "${appdir}"
+	cp "${dl_path}" "${appdir}"
 
 	if [ "${e6400_vga_offset}" = "" ]; then
 		printf "E6400 VGA offset not defined\n"