From c6a67ea560c1c8eaac7a9cfcbcf57d72b9d7be5c Mon Sep 17 00:00:00 2001 From: Mehdi Chinoune Date: Mon, 7 Mar 2022 10:30:24 +0100 Subject: [PATCH] CI: Fix building with more than one skipped package --- .ci/ci-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/ci-build.sh b/.ci/ci-build.sh index 856b058c29..40f347d2d4 100644 --- a/.ci/ci-build.sh +++ b/.ci/ci-build.sh @@ -35,10 +35,12 @@ for package in "${packages[@]}"; do skipped_packages+=("${package}") fi cd - > /dev/null + unset package done -for package in "${skipped_packages}"; do +for package in "${skipped_packages[@]}"; do packages=(${packages[@]/"${package}"}) + unset package done test -z "${packages}" && success 'No changes in package recipes'