diff --git a/setup.sh b/setup.sh
index c290837d18a873ad9a70c6100b837aff4539b17a..82798658d43a67d9b2d18a507bbc7927f29a53af 100755
--- a/setup.sh
+++ b/setup.sh
@@ -123,7 +123,7 @@ for module_name in "${ordered_list[@]}"; do
 done
 
 # Top level test
-if [[ "${OPT_PYTHON_MODULES}" == "y" -a  "${OPT_WITH_TESTS}" == "ON" ]]; then
+if [ "${OPT_PYTHON_MODULES}" == "y" ] && [ "${OPT_WITH_TESTS}" == "ON" ]; then
   echo "Running tutorials"
   python -m pip install matplotlib nbconvert ipykernel -v
   python -m nbconvert --to script --execute examples/tutorials/Aidge_tutorial/load_and_run.ipynb