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 branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,10 @@ env_setup() {
# Point to Gaudi:
# 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)
export GAUDI_ROOT=${BUILDDIR}/install/GAUDI/${NICOS_PROJECT_VERSION}/InstallArea/${platform}
if [ -z "${GAUDI_ROOT+1}" ]; then
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}"
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