mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Update XSL script to copy patches for new server
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6375 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
8bc5636f36
commit
b0965de2a4
@ -18,7 +18,7 @@
|
||||
|
||||
<!-- Allow select the dest dir at runtime -->
|
||||
<xsl:param name="dest.dir">
|
||||
<xsl:value-of select="concat('/home/httpd/', substring-after('&patch-root;', 'http://'))"/>
|
||||
<xsl:value-of select="concat('/srv/www/', substring-after('&patch-root;', 'http://'))"/>
|
||||
</xsl:param>
|
||||
|
||||
<xsl:template match="/">
|
||||
@ -52,7 +52,7 @@ fi</xsl:text>
|
||||
<xsl:if test="contains(@url, '.patch') and contains(@url, '&patch-root;')
|
||||
and not(ancestor-or-self::*/@condition = 'pdf')">
|
||||
<xsl:variable name="patch.name" select="substring-after(@url, '&patch-root;')"/>
|
||||
<xsl:text>copy /home/httpd/www.linuxfromscratch.org/patches/downloads</xsl:text>
|
||||
<xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads</xsl:text>
|
||||
<xsl:choose>
|
||||
<!-- cdparanoia -->
|
||||
<xsl:when test="contains($patch.name, '-III')">
|
||||
|
Loading…
Reference in New Issue
Block a user