From 6fa3f6931f6eecd8ae968a49fdb9a23458ef051d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Mon, 16 Oct 2023 13:37:15 +0200 Subject: [PATCH] fixup --- test/ci-runtests.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/ci-runtests.sh b/test/ci-runtests.sh index b4f79b0f7d1f..cfccf33d881b 100755 --- a/test/ci-runtests.sh +++ b/test/ci-runtests.sh @@ -187,7 +187,7 @@ function download_e2e_executable { local url="${package_repo}/$version/additional-files/$filename" echo "Downloading e2e executable for $version ($os) from $url" - mkdir $PACKAGES_DIR + mkdir -p $PACKAGES_DIR if [[ ! -f "$PACKAGES_DIR/$filename" ]]; then curl -sf -o "$PACKAGES_DIR/$filename" $url fi @@ -229,13 +229,13 @@ echo "**********************************" # find "$PACKAGES_DIR/" -type f ! \( -name "*${OLD_APP_VERSION}_*" -o -name "*${OLD_APP_VERSION}.*" -o -name "*${NEW_APP_VERSION}*" \) -delete || true function build_test_runner { - local targets=() + local target="" if [[ "${TEST_OS}" =~ "debian"|"ubuntu"|"fedora" ]]; then - targets+=("x86_64-unknown-linux-gnu") + target="x86_64-unknown-linux-gnu" elif [[ "${TEST_OS}" =~ "windows" ]]; then - targets+=("x86_64-pc-windows-gnu") + target="x86_64-pc-windows-gnu" elif [[ "${TEST_OS}" =~ "macos" ]]; then - targets+=("aarch64-apple-darwin") + target="aarch64-apple-darwin" fi TARGET=$target ./build.sh }