diff --git a/scripts/macos_dependencies.sh b/scripts/macos_dependencies.sh index d5e5416c..66a0c2bd 100755 --- a/scripts/macos_dependencies.sh +++ b/scripts/macos_dependencies.sh @@ -8,7 +8,7 @@ cask "gcc-arm-embedded" brew "gcc@13" EOS -if [[ -n "$NO_CATCH2" ]]; then +if [[ -z "$NO_CATCH2" ]]; then cd /tmp git clone -b v2.x --depth 1 https://github.com/catchorg/Catch2.git cd Catch2 diff --git a/scripts/ubuntu_dependencies.sh b/scripts/ubuntu_dependencies.sh index 8b994c9e..855a937f 100755 --- a/scripts/ubuntu_dependencies.sh +++ b/scripts/ubuntu_dependencies.sh @@ -13,7 +13,7 @@ fi $SUDO apt-get update $SUDO apt-get install -y --no-install-recommends clang opencl-headers libzmq3-dev ocl-icd-opencl-dev cppcheck -if [[ -n "$NO_CATCH2" ]]; then +if [[ -z "$NO_CATCH2" ]]; then cd /tmp git clone -b v2.x --depth 1 https://github.com/catchorg/Catch2.git cd Catch2