make_stable.sh: add missing closing tag
When make_stable.sh replaces the linux project entry with a new one
pointing to a release tag, it lacks an XML closing tag '/>' which
causes an error with 'repo sync':
$ repo sync optee*
fatal: error parsing manifest /home/jerome/work/optee_repo_qemu/.repo/manifest.xml: not well-formed (invalid token): line 19, column 8
Add the missing bit.
Fixes: f7824ba5119e ("make_stable: use OP-TEE tag for linaro-swg linux repository")
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Change-Id: I4a1c13c7a9aa6041c39d1832f5cb3e8fffa6ab8e
diff --git a/make_stable.sh b/make_stable.sh
index b9509b2..97f220e 100755
--- a/make_stable.sh
+++ b/make_stable.sh
@@ -53,6 +53,6 @@
sed "s/\(linaro-swg\/optee_examples.git\"\)/\1 revision=\"refs\/tags\/${VERSION}\" clone-depth=\"1\"/" |
sed "s/\(linaro-swg\/optee_benchmark.git\)revision.*/\1\/>/" | # Removes old revision
sed "s/\(linaro-swg\/optee_benchmark.git\"\)/\1 revision=\"refs\/tags\/${VERSION}\" clone-depth=\"1\"/" |
- sed "s/\(linaro-swg\/linux.git\" *\)revision=\"optee\".*/\1revision=\"refs\/tags\/optee-${VERSION}\" clone-depth=\"1\"/" |
+ sed "s/\(linaro-swg\/linux.git\" *\)revision=\"optee\".*/\1revision=\"refs\/tags\/optee-${VERSION}\" clone-depth=\"1\" \/>/" |
tee ${FILE} 2>&1 > /dev/null
done