Skip to content

do not set unchanged vars in xenv when generating shell scripts

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

Loading