diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2022-05-18 14:40:31 +0000 |
---|---|---|
committer | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2022-05-18 14:40:31 +0000 |
commit | c9bae3976687d979c5363fb3b7384eb458560d17 (patch) | |
tree | 55a9e56d9b2f823dd7f02c28b06c407647701614 | |
parent | 828fbd8ac79c6a163584bd4aed25bef6db4a2a4a (diff) | |
download | haskell-wip/centos-fix.tar.gz |
ci: Use correct syntax when args list is emptywip/centos-fix
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 |