Skip to content

GMR-157: do not set unchanged vars in xenv when generating shell scripts

Charles Leggett requested to merge leggett/AtlasGaudi:dev/GMR-157 into atlas/v27r1

apply Gaudi Merge Request 157: gaudi/Gaudi!157 (merged)

When using bash in conjunction with export -f, the string produced by xenv --sh cannot be used as argument to eval. Moreover, there is no real need to set variables if the value didn't change.

Note that the change affects only the options --sh and --csh of xenv.

Merge request reports