Fix update_scripts.sh unselective pattern sub

The update_scripts.sh script doesn't correctly strip the suffix from the end of the pathname, but will substitute for it anywhere in the path. The pattern really ought to have been /[.]TARGET//.

Fix this by using a special shell expansion to do it instead of invoking a sed pipeline.

Signed-off-by: David Howells dhowells@redhat.com cc: Jeremy Cline jcline@redhat.com

Merge request reports

Loading