From f53dab33c030369ba3723abb8e2326843d1c6a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de> Date: Thu, 6 Mar 2025 09:01:28 +0100 Subject: [PATCH] fix: small bug in install script --- install_spack_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_spack_env.sh b/install_spack_env.sh index 31232625..a0ed1f67 100644 --- a/install_spack_env.sh +++ b/install_spack_env.sh @@ -130,7 +130,7 @@ spack-python -c "exit(not len(spack.environment.active_environment().uninstalled else echo "Updating of the source cache disabled." fi - if [ $ret -ne 0 ]; then + if [ "$ret" -ne 0 ]; then (exit $ret) fi ) -- GitLab