Skip to content
Snippets Groups Projects
Commit 0c642140 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

Revert "env.sh: handle DETECTOR_VERSION as it currently comes from the spack package"

This reverts merge request !86
parent ada1d7b5
No related branches found
No related tags found
1 merge request!87Revert "env.sh: handle DETECTOR_VERSION as it currently comes from the spack package"
...@@ -47,12 +47,9 @@ fi ...@@ -47,12 +47,9 @@ fi
# export DETECTOR_CONFIG="${DETECTOR}_full" # export DETECTOR_CONFIG="${DETECTOR}_full"
#fi #fi
# main is the new master
if [ ! -n "${DETECTOR_VERSION}" ] ; then if [ ! -n "${DETECTOR_VERSION}" ] ; then
export DETECTOR_VERSION="main" 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 fi
if [ ! -n "${DETECTOR_REPOSITORYURL}" ] ; then if [ ! -n "${DETECTOR_REPOSITORYURL}" ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment