Fix SDK repo to prevent mixing different targets. DO NOT MERGE.
This makes sure that sdk-repo-*.zip doesn't exist to
avoid merging into an existing one.
Also fix a warning when generating the repo.xml files.
(cherry picked from commit 4df9f469f7)
Change-Id: I8ad6763ace0d6075a743b99fd65a5ae8b69bf3d5
This commit is contained in:
committed by
Raphael Moll
parent
b706c44a2b
commit
71ad7c8f4e
@@ -267,7 +267,7 @@ function parse_attributes() {
|
||||
REV="${BASH_REMATCH[2]}"
|
||||
fi
|
||||
|
||||
if [[ $XSD_VERSION -ge $REV ]]; then
|
||||
if [[ ( $REV =~ ^[0-9]+ && $XSD_VERSION -ge $REV ) || $XSD_VERSION == $REV ]]; then
|
||||
# Parse the property, if present. Any space is replaced by @
|
||||
VALUE=$( grep "^$SRC=" "$PROPS" | cut -d = -f 2 | tr ' ' '@' | tr -d '\r' )
|
||||
if [[ -n "$VALUE" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user