From 7b406fa28ee1e3653b1eb177f9106c4a461b251c Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 24 Jan 2022 21:16:18 +0100 Subject: [PATCH] fix release script --- usr/bin/archboot-aarch64-release.sh | 2 +- usr/bin/archboot-x86_64-release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-aarch64-release.sh b/usr/bin/archboot-aarch64-release.sh index 02153dc44..5cc7b104e 100755 --- a/usr/bin/archboot-aarch64-release.sh +++ b/usr/bin/archboot-aarch64-release.sh @@ -62,7 +62,7 @@ rm -r "${_W_DIR}" echo "Create boot directory ..." mkdir -p boot/licenses/amd-ucode for i in *.iso; do - if ! echo "${i}" | grep -q latest "${i}"; then + if ! echo "${i}" | grep -q latest; then isoinfo -R -i "${i}" -x /"${_AMD_UCODE}" 2>/dev/null > "${_AMD_UCODE}" isoinfo -R -i "${i}" -x /"${_INITRAMFS}" 2>/dev/null > "${_INITRAMFS}" isoinfo -R -i "${i}" -x /"${_KERNEL}" 2>/dev/null > "${_KERNEL_ARCHBOOT}" diff --git a/usr/bin/archboot-x86_64-release.sh b/usr/bin/archboot-x86_64-release.sh index 1e955ea6d..e0f21b705 100755 --- a/usr/bin/archboot-x86_64-release.sh +++ b/usr/bin/archboot-x86_64-release.sh @@ -68,7 +68,7 @@ rm -r "${_W_DIR}" echo "Create boot directory ..." mkdir -p boot/licenses/{amd-ucode,intel-ucode} for i in *.iso; do - if ! echo "${i}" | grep -q latest "${i}"; then + if ! echo "${i}" | grep -q latest; then isoinfo -R -i "${i}" -x /"${_AMD_UCODE}" 2>/dev/null > "${_AMD_UCODE}" isoinfo -R -i "${i}" -x /"${_INTEL_UCODE}" 2>/dev/null > "${_INTEL_UCODE}" isoinfo -R -i "${i}" -x /"${_INITRAMFS}" 2>/dev/null > "${_INITRAMFS}"