androidenv: fix packages xsl used in generate.sh

Entry `<remotePackage path="cmdline-tools;latest">` resulted in a
duplicated `"cmdline-tools"."1.0"`.
This commit is contained in:
Luca Favatella 2020-03-09 02:45:04 +00:00
parent d574ea45a2
commit de119ca8ea

View File

@ -28,7 +28,7 @@
{
<!-- Convert all remote packages -->
<xsl:for-each select="remotePackage"><xsl:sort select="@path" />
<xsl:for-each select="remotePackage[not(contains(@path, ';') and substring-after(@path, ';') = 'latest')]"><xsl:sort select="@path" />
<!-- Extract the package name from the path -->
<xsl:variable name="name">