(In reply to Dirk Mueller from comment #4) > your reporducer script, even if adjusted, does not reproduce. > > I have a full log with env(1) output, any idea how to reduce it to the > testcase? The question is how the affected script does read the variable MYSRCDIR ... by environment or any other method like sourcing an other text file. It would be very helpful to see the environment of the script performing the shell function recipe_setup_spec()