Commit 1dad6dd5 authored by Vishal Bhoj's avatar Vishal Bhoj
Browse files

Check project remote as well while patching manifest

Fixes #17

Signed-off-by: Vishal Bhoj's avatarVishal Bhoj <vishal.bhoj@linaro.org>
parent 704e1368
......@@ -13,9 +13,9 @@ do
fi
echo "Patching $2 with project: ${PROJECT_NAME} and branch: ${PROJECT_BRANCH}"
xmlstarlet edit --inplace \
--update "//extend-project[@name=\"${PROJECT_NAME}\"]/@revision" \
--update "//extend-project[@name=\"${PROJECT_NAME}\" and starts-with(@remote, 'morello')]/@revision" \
--value ${PROJECT_BRANCH} ${2}
xmlstarlet edit --inplace \
--update "//project[@name=\"${PROJECT_NAME}\"]/@revision" \
--update "//project[@name=\"${PROJECT_NAME}\" and starts-with(@remote, 'morello')]/@revision" \
--value ${PROJECT_BRANCH} ${2}
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment