diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2024-09-30 12:59:48 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2024-09-30 12:59:48 -0500 |
commit | 3e0cd177d4baf9ab3a026f18efc873cd84db8d57 (patch) | |
tree | bafd03c9440b58a1f240ee2b7659a510aa62ec0a /stylesheets/patcheslist.xsl | |
parent | 6f5feb102616ab926243505f752bf24248228756 (diff) |
Fix patch name generation for nss.
The stylesheet by default looks for pkg-1.2.3-name-#.patch to select the
directory for the patch. For nss, the patch is 'nss-standalone-1.patch'
so it is intentionally omitting the version number. This change
customizes the xsl file for nss.
Diffstat (limited to 'stylesheets/patcheslist.xsl')
-rw-r--r-- | stylesheets/patcheslist.xsl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl index 82d3a6a779..6712db8bef 100644 --- a/stylesheets/patcheslist.xsl +++ b/stylesheets/patcheslist.xsl @@ -94,6 +94,10 @@ exit</xsl:text> <xsl:when test="contains($patch.name, 'node')"> <xsl:text>/node</xsl:text> </xsl:when> + <!-- nss --> + <xsl:when test="contains($patch.name, 'nss')"> + <xsl:text>/nss</xsl:text> + </xsl:when> <!-- General rule --> <xsl:otherwise> <xsl:variable name="cut" |