Skip to content
Snippets Groups Projects
Commit 369190ad authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'master-minor-fix-to-build-script' into 'master'

Do not modify GAUDI_ROOT if it is already set, since this can break certain workflows.

See merge request atlas/athena!16604
parents 65c55e6b ae43f138
No related merge requests found
...@@ -62,8 +62,10 @@ env_setup() { ...@@ -62,8 +62,10 @@ env_setup() {
# Point to Gaudi: # Point to Gaudi:
# Get platform from the GAUDI build - we're assuming here that there's only one platform installed. # Get platform from the GAUDI build - we're assuming here that there's only one platform installed.
platform=$(cd ${BUILDDIR}/install/GAUDI/${NICOS_PROJECT_VERSION}/InstallArea/;ls) if [ -z "${GAUDI_ROOT+1}" ]; then
export GAUDI_ROOT=${BUILDDIR}/install/GAUDI/${NICOS_PROJECT_VERSION}/InstallArea/${platform} platform=$(cd ${BUILDDIR}/install/GAUDI/${NICOS_PROJECT_VERSION}/InstallArea/;ls)
export GAUDI_ROOT=${BUILDDIR}/install/GAUDI/${NICOS_PROJECT_VERSION}/InstallArea/${platform}
fi
echo "Taking Gaudi from: ${GAUDI_ROOT}" echo "Taking Gaudi from: ${GAUDI_ROOT}"
cd $startdir cd $startdir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment