From 3ea87ca65fa449e981c5a5dfc6ca6a215be0f5aa Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 25 Mar 2011 13:49:48 -0700 Subject: [PATCH] Fix XMLNS detection in SDK Repo XSD files. Change-Id: I7e804c1d7de2db9428d53242c146e15f4c2fcc15 --- build/tools/mk_sdk_repo_xml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/mk_sdk_repo_xml.sh b/build/tools/mk_sdk_repo_xml.sh index 56f426bb3..f7bbec19f 100755 --- a/build/tools/mk_sdk_repo_xml.sh +++ b/build/tools/mk_sdk_repo_xml.sh @@ -45,7 +45,7 @@ SCHEMA="$1" shift # Get XML:NS for SDK from the schema -XMLNS=$(sed -n '/xmlns:sdk="/s/.*"\(.*\)".*/\1/p' "$SCHEMA") +XMLNS=$(sed -n '/xmlns:.*schemas.android.com\/sdk\/android\//s/.*"\(.*\)".*/\1/p' "$SCHEMA") [[ -z "$XMLNS" ]] && error "Failed to find xmlns:sdk in $SCHEMA." echo "## Using xmlns:sdk=$XMLNS"