From c95058a0f70608c82195f34fef78ac50d517cf8a Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 14 Dec 2020 11:01:14 +0100 Subject: [ci] fix code to check if the overlay is valid --- dev/ci/ci-basic-overlay.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/ci/ci-basic-overlay.sh') diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh index be819616e2..dd683c96a9 100755 --- a/dev/ci/ci-basic-overlay.sh +++ b/dev/ci/ci-basic-overlay.sh @@ -8,7 +8,7 @@ declare -a projects # the list of project repos that can be be overlayed # checks if the given argument is a known project function is_in_projects { local rc=1 - for x in ${!projects[@]}; do + for x in ${projects[@]}; do if [ "$1" = "$x" ]; then rc=0; fi; done return rc -- cgit v1.2.3