You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sourcing of environment files is a bit different than running scripts, because they are imported into the current environment. That means that if they are fiddling with "set -x" you can get odd things in the output -- for example, if one environment file enables tracing then all proceeding sourcing will have it on, but all the files sourced before will not have output. This is super confusing. It's also very helpful to see how things are being expanded as they set environment variables. Thus I think the best idea is for environment files to leave tracing alone and dib-run-parts can a) give a useful output about what file it is sourcing and b) enable tracing around the import, then restore it to the previous state afterwards. Change-Id: I29f7df1514aeb988222d1094e8269eddb485c2a0
|6 years ago|
|dib-run-parts||6 years ago|