Fix "raspberrypi3-uboot" -> "raspberrypi3-uboot-uboot" type of
substitutions.
Ensure that the full string (up to EOL) is matched before trying to
replace.
Change-Id: I2026beb964b12aff1f60441257ceec82b706bab7
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
# Need to hack the LAVA device-type name in the job file
JOB_FILE_NEW="${JOB_BASE}_${LAVA_LAB}.yaml"
-cat $JOB_FILE | sed "s/device_type: $releng_device/device_type: $lava_device/" > $JOB_FILE_NEW
+cat $JOB_FILE | sed "s/device_type: $releng_device$/device_type: $lava_device/" > $JOB_FILE_NEW
#
# LAVA job submit, get job ID from lava-tool output