diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-05-18 14:40:31 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-05-18 15:50:40 +0100 |
commit | e5c614cfb78f8b59b8cd9e55f14fb7a58f637fda (patch) | |
tree | ccda5993f94f9b75b3cc79aceb426d47eb463e6e | |
parent | c7dd1b4078d3449613894a0f32506c36d3d96efc (diff) | |
download | haskell-wip/ci_fixes.tar.gz |
ci: Use correct syntax when args list is emptywip/ci_fixes
This seems to fail on the ancient version of bash present on CentOS
-rwxr-xr-x | .gitlab/ci.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 6c030a4e62..48c34ec4fc 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 |