From d9766b02c7f429bc49567f37cd2059c6c4ceba0b Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dkalinkin@bnl.gov> Date: Fri, 24 May 2024 01:09:33 +0000 Subject: [PATCH] Revert "env.sh: handle DETECTOR_VERSION as it currently comes from the spack package" --- bin/env.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/env.sh b/bin/env.sh index 0588937..d25eb06 100755 --- a/bin/env.sh +++ b/bin/env.sh @@ -47,12 +47,9 @@ fi # export DETECTOR_CONFIG="${DETECTOR}_full" #fi +# main is the new master if [ ! -n "${DETECTOR_VERSION}" ] ; then export DETECTOR_VERSION="main" -else - # handle spack version spec format (e.g. git.fcf90937193c983c0af2acf1251e01f2e2c3a259=main) - DETECTOR_VERSION=${DETECTOR_VERSION##git.} - export DETECTOR_VERSION=${DETECTOR_VERSION%%=*} fi if [ ! -n "${DETECTOR_REPOSITORYURL}" ] ; then -- GitLab