From 404f1c929cb838af7bd32661d2da7edecd607243 Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Thu, 18 Jul 2019 16:40:34 +0200 Subject: Fix PIN_LIST in checkout-oe.sh It didn't work if the manifest already had a revision specified Signed-off-by: Laurent Bonnans --- scripts/ci/checkout-oe.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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 IFS=":" read -r project rev <<< "$pin" xmlstarlet ed --omit-decl -L \ + -d "/manifest/project[@name=\"$project\"]/@revision" \ -i "/manifest/project[@name=\"$project\"]/@revision" -t attr -n "revision" -v "$rev" \ -i "/manifest/project[@name=\"$project\"]" -t attr -n "revision" -v "$rev" \ "$MANIFEST_FILE" -- cgit v1.2.3-54-g00ecf