From cdfb0cc6bdc8bb5fdc50af49169b78f3706ff270 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 19 Jan 2025 02:05:11 +0100 Subject: [PATCH] func: fix to match latest changes 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 fd757c99..7d0b809b 100755 --- a/scripts/func.sh +++ b/scripts/func.sh @@ -221,7 +221,7 @@ function getBuildroot() { rm -f "${DEST_PATH}/bzImage-arc" rm -f "${DEST_PATH}/initrd-arc" while read -r ID NAME; do - if [ "${NAME}" = "buildroot-${TAG}.zip" ]; then + if [ "${NAME}" = "buildroot-${TAG:0:9}.zip" ]; then curl -kL -H "Authorization: token ${TOKEN}" -H "Accept: application/octet-stream" "https://api.github.com/repos/AuxXxilium/${REPO}/releases/assets/${ID}" -o "${DEST_PATH}/br.zip" echo "Buildroot-${TYPE}: ${TAG}" unzip -o "${DEST_PATH}/br.zip" -d "${DEST_PATH}"