From 57c91c47fd1077690fe960e71736825c236d70b4 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 20 Apr 2024 00:28:49 +0200 Subject: [PATCH] func: fix build Signed-off-by: AuxXxilium --- scripts/func.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/func.sh b/scripts/func.sh index be4f3613..3171e238 100755 --- a/scripts/func.sh +++ b/scripts/func.sh @@ -63,7 +63,7 @@ function getLKMs() { else TAG="$(curl -s "https://api.github.com/repos/AuxXxilium/redpill-lkm/releases/latest" | grep -oP '"tag_name": "\K(.*)(?=")')" fi - STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/redpill-lkm/releases/download/${TAG}/rp-lkms.zip" -o "${CACHE_FILE}") + STATUS=$(curl -w "%{http_code}" -L "https://github.com/AuxXxilium/redpill-lkm/releases/download/${TAG}/rp-lkms-${TAG}.zip" -o "${CACHE_FILE}") echo "TAG=${TAG}; Status=${STATUS}" [ ${STATUS} -ne 200 ] && exit 1 # Unzip LKMs