We attempted to do this by trying to adjust build runvars only if they
didn't have a `.'. But cs-adjust-flight runvar-build-set has special
handling for <old-value>: it is always qualified with the flight.
So change the match to look for the current flight number.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
./cs-adjust-flight $flight \
copy-jobs $example_flight $job \
- runvar-build-set . '/buildjob$' '^[^\.]+$' $example_flight \
+ runvar-build-set . '/buildjob$' "^$flight\\." $example_flight \
"${adjusts[@]}"
progress "executing ..."