aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-02-05 18:09:25 +0000
committerKevin Hilman <khilman@baylibre.com>2018-02-05 18:09:29 +0000
commitaf7af9804b8e3ec5d10eb7a8310293d269e397ba (patch)
treea1663e15c5bbbd99120f9bc90bb9a9a52f809077 /jjb
parentef5a42f02b456f868befe9fbf74c726407591055 (diff)
jjb/common: lava-jobs-submit: fix device_type replacement
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>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh
index 0eccbf6a..3ecb0d12 100644
--- a/jjb/common/include-agl-lava-jobs-submit.sh
+++ b/jjb/common/include-agl-lava-jobs-submit.sh
@@ -14,7 +14,7 @@ JOB_BASE=$(basename $JOB_FILE .yaml)
# 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