summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-18 16:40:34 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-18 16:40:34 +0200
commit404f1c929cb838af7bd32661d2da7edecd607243 (patch)
tree63e7be933e656cfa3a04d5431eb15d73d5bd9142 /scripts
parentcb194eef86a50796d1a43c944324ca0ad5b94ab0 (diff)
downloadmeta-updater-404f1c929cb838af7bd32661d2da7edecd607243.tar.gz
Fix PIN_LIST in checkout-oe.sh
It didn't work if the manifest already had a revision specified Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/checkout-oe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ci/checkout-oe.sh b/scripts/ci/checkout-oe.sh
index a99f235..523d71c 100755
--- a/scripts/ci/checkout-oe.sh
+++ b/scripts/ci/checkout-oe.sh
@@ -45,6 +45,7 @@ for pin in $PIN_LIST; do
45 IFS=":" 45 IFS=":"
46 read -r project rev <<< "$pin" 46 read -r project rev <<< "$pin"
47 xmlstarlet ed --omit-decl -L \ 47 xmlstarlet ed --omit-decl -L \
48 -d "/manifest/project[@name=\"$project\"]/@revision" \
48 -i "/manifest/project[@name=\"$project\"]/@revision" -t attr -n "revision" -v "$rev" \ 49 -i "/manifest/project[@name=\"$project\"]/@revision" -t attr -n "revision" -v "$rev" \
49 -i "/manifest/project[@name=\"$project\"]" -t attr -n "revision" -v "$rev" \ 50 -i "/manifest/project[@name=\"$project\"]" -t attr -n "revision" -v "$rev" \
50 "$MANIFEST_FILE" 51 "$MANIFEST_FILE"