From d45209e3d54cb1d7b9cf59e3c47c39f1d42e2f4a Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sun, 1 Oct 2023 17:34:20 -0500 Subject: [PATCH] Set default DETECTOR_CONFIG to DETECTOR This was the original design. I am not even sure this is a good idea. It means every detector will now need the same `CONFIG`s... modified: bin/env.sh --- bin/env.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/env.sh b/bin/env.sh index 9db3a4d..e61f5f5 100755 --- a/bin/env.sh +++ b/bin/env.sh @@ -43,9 +43,9 @@ if [ ! -n "${DETECTOR}" ] ; then fi # Optional variable, define it or don't use it -#if [ ! -n "${DETECTOR_CONFIG}" ] ; then -# export DETECTOR_CONFIG="${DETECTOR}_full" -#fi +if [ ! -n "${DETECTOR_CONFIG}" ] ; then + export DETECTOR_CONFIG="${DETECTOR}" +fi # main is the new master if [ ! -n "${DETECTOR_VERSION}" ] ; then -- GitLab