From 70874085688ff490daf1450284ecaf024119b5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Dutheillet-Lamonth=C3=A9zie?= Date: Thu, 19 Dec 2024 11:14:17 +0100 Subject: [PATCH] #2: fix setup script syntax error --- ci/setup-template.sh | 2 +- ci/shared/scripts/setup-amd64-alpine-clang-13-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-10-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-9-cpp.sh | 2 +- .../scripts/setup-amd64-ubuntu-20.04-gcc-10-openmpi-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cpp.sh | 2 +- .../scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp.sh | 2 +- .../scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-12.2.0-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-20.04-icpc-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-20.04-icpx-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-11-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-12-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-13-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-14-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-11-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-vtk-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-zoltan-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-cpp.sh | 2 +- ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-vtk-cpp.sh | 2 +- .../scripts/setup-amd64-ubuntu-24.04-clang-16-zoltan-cpp.sh | 2 +- ci/shared/scripts/setup-arm64-macos-14-clang-14-cpp.sh | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/ci/setup-template.sh b/ci/setup-template.sh index c6f0ce0c..986e067e 100644 --- a/ci/setup-template.sh +++ b/ci/setup-template.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-alpine-clang-13-cpp.sh b/ci/shared/scripts/setup-amd64-alpine-clang-13-cpp.sh index d45fc315..c4c44816 100644 --- a/ci/shared/scripts/setup-amd64-alpine-clang-13-cpp.sh +++ b/ci/shared/scripts/setup-amd64-alpine-clang-13-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-10-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-10-cpp.sh index ce162fa3..60d24988 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-10-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-10-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-9-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-9-cpp.sh index 0c77b4ff..4edf2739 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-9-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-clang-9-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-10-openmpi-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-10-openmpi-cpp.sh index 98d19ad5..127e058c 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-10-openmpi-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-10-openmpi-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cpp.sh index 31c82ade..12fc59cc 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp.sh index 5759104e..860d2429 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-12.2.0-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-12.2.0-cpp.sh index 16a0bf57..afd14052 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-12.2.0-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-gcc-9-cuda-12.2.0-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpc-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpc-cpp.sh index 0d0997af..5e8e1bc7 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpc-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpc-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpx-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpx-cpp.sh index fdc993c7..fc542faa 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpx-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-20.04-icpx-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-11-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-11-cpp.sh index 4318a378..4ec05107 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-11-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-11-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-12-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-12-cpp.sh index 2057adab..bf0f2ba4 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-12-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-12-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-13-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-13-cpp.sh index dd971463..37310464 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-13-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-13-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-14-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-14-cpp.sh index 272ca7ca..9f4ba291 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-14-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-clang-14-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-11-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-11-cpp.sh index 19b8e525..78334a1a 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-11-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-11-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-cpp.sh index 49fce203..d8b303a8 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-vtk-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-vtk-cpp.sh index e2b4b6f2..c42b1cb3 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-vtk-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-vtk-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-zoltan-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-zoltan-cpp.sh index aff5f077..5b1164f6 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-zoltan-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-22.04-gcc-12-zoltan-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-cpp.sh index f213a4f1..ec71e051 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-vtk-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-vtk-cpp.sh index 2c157676..dcfe5989 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-vtk-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-vtk-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-zoltan-cpp.sh b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-zoltan-cpp.sh index 607a41c7..af2f8367 100644 --- a/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-zoltan-cpp.sh +++ b/ci/shared/scripts/setup-amd64-ubuntu-24.04-clang-16-zoltan-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else diff --git a/ci/shared/scripts/setup-arm64-macos-14-clang-14-cpp.sh b/ci/shared/scripts/setup-arm64-macos-14-clang-14-cpp.sh index 23d63f6b..50f20986 100644 --- a/ci/shared/scripts/setup-arm64-macos-14-clang-14-cpp.sh +++ b/ci/shared/scripts/setup-arm64-macos-14-clang-14-cpp.sh @@ -76,7 +76,7 @@ echo "--" echo "-- Installing dependencies..." echo "--" -if [ $WF_DOCKER == "1" ]; then +if [ "$WF_DOCKER" = "1" ]; then # If a docker image is being built then deps are already available. cd $WF_TMP_DIR/deps else