From 89a59a708daf4c9c3ff63f04fd85e461c5a492f2 Mon Sep 17 00:00:00 2001 From: Matthew Pickering <matthewtpickering@gmail.com> Date: Wed, 18 May 2022 14:40:31 +0000 Subject: [PATCH] ci: Use correct syntax when args list is empty This seems to fail on the ancient version of bash present on CentOS (cherry picked from commit 209d7c699225f5e9b8acbf9e50711165a37a91ed) --- .gitlab/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 6c030a4e6232..48c34ec4fcd7 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -582,7 +582,7 @@ function test_hadrian() { ;; *) read -r -a args <<< "${INSTALL_CONFIGURE_ARGS:-}" - run ./configure --prefix="$TOP"/_build/install "${args[@]}" + run ./configure --prefix="$TOP"/_build/install "${args[@]+"${args[@]}"}" run "$MAKE" install ;; esac -- GitLab