3
0
Fork 0
forked from mirrors/nixpkgs

androidenv: fix convert files not quoting urls

This commit is contained in:
eyjhb 2020-08-19 16:40:28 +02:00
parent cb79ab4813
commit f13d952121
No known key found for this signature in database
GPG key ID: 740FAE1502523BD8
3 changed files with 9 additions and 9 deletions

View file

@ -36,13 +36,13 @@
archives = {
<xsl:for-each select="archives/archive[not(host-os)]">
all = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
<xsl:for-each select="archives/archive[host-os and not(host-os = 'windows')]">
<xsl:value-of select="host-os" /> = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
@ -60,13 +60,13 @@
archives = {
<xsl:for-each select="archives/archive[not(host-os)]">
all = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
<xsl:for-each select="archives/archive[host-os and not(host-os = 'windows')]">
<xsl:value-of select="host-os" /> = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
@ -108,13 +108,13 @@
archives = {
<xsl:for-each select="archives/archive[not(host-os)]">
all = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
<xsl:for-each select="archives/archive[host-os and not(host-os = 'windows')]">
<xsl:value-of select="host-os" /> = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>

View file

@ -98,13 +98,13 @@
archives = {
<xsl:for-each select="archives/archive[not(host-os)]">
all = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = !<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>
<xsl:for-each select="archives/archive[host-os and not(host-os = 'windows')]">
<xsl:value-of select="host-os" /> = fetchurl {
url = <xsl:call-template name="repository-url"/>;
url = "<xsl:call-template name="repository-url"/>";
sha1 = "<xsl:value-of select="complete/checksum" />";
};
</xsl:for-each>

View file

@ -64,7 +64,7 @@
displayName = "</xsl:text><xsl:value-of select="display-name" /><xsl:text>";
archives.all = fetchurl {</xsl:text>
<xsl:for-each select="archives/archive"><xsl:text>
url = </xsl:text><xsl:call-template name="repository-url"/><xsl:text>;
url = "</xsl:text><xsl:call-template name="repository-url"/><xsl:text>";
sha1 = "</xsl:text><xsl:value-of select="complete/checksum" /><xsl:text>";</xsl:text>
</xsl:for-each><xsl:text>
};