From 75f6b30da9d2cb4cf5bb50c8fc17e3e9a881b5eb Mon Sep 17 00:00:00 2001 From: Zhang Hua Date: Thu, 14 Dec 2023 17:33:12 +0800 Subject: [PATCH] Fix CI --- .github/workflows/build-packages.yml | 2 +- start-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index e352542..0d86015 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -26,7 +26,7 @@ jobs: interpreter=$(grep interpreter "$file" | sed 's/interpreter //') flags=$(grep flags "$file" | sed 's/flags: //') echo "$interpreter's flags is $flags" - if [[ "$interpreter" =~ aarch64- ]] && [[ "$flags" != "OCF" ]] + if [[ "$interpreter" =~ aarch64- ]] && ! [[ "$flags" =~ OCF ]] then result=false break diff --git a/start-build.sh b/start-build.sh index 5a87167..ed13cf3 100644 --- a/start-build.sh +++ b/start-build.sh @@ -100,7 +100,7 @@ function check_qemu_flags() { interpreter=$(grep interpreter "$file" | sed 's/interpreter //') flags=$(grep flags "$file" | sed 's/flags: //') # aarch64_be matches aarch64 - if [[ "$interpreter" =~ aarch64- ]] && [[ "$flags" != "OCF" ]] + if [[ "$interpreter" =~ aarch64- ]] && ! [[ "$flags" =~ OCF ]] then result=1 break