Changeset 1b02a9a for LFS/lfs.xsl
- Timestamp:
- 09/11/2023 08:04:44 AM (10 months ago)
- Branches:
- ablfs-more, trunk
- Children:
- 74601a7
- Parents:
- 4ba94ad
- git-author:
- Xi Ruoyao <xry111@…> (09/11/2023 06:38:15 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (09/11/2023 08:04:44 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
r4ba94ad r1b02a9a 28 28 --> 29 29 <xsl:param name="testsuite" select="1"/> 30 31 <!-- Parallelism (LFS >= 12.1) --> 32 <xsl:param name="jobs_1" select="1"/> 33 <xsl:param name="jobs_2" select="1"/> 30 34 31 35 <!-- Install non wide character ncurses 5? --> … … 616 620 <xsl:value-of select="$hostname"/> 617 621 </xsl:when> 622 <xsl:when test="contains(string(.),'$(nproc || echo 1)')"> 623 <xsl:value-of select="$jobs_1"/> 624 </xsl:when> 625 <xsl:when test="contains(string(.),'$(nproc)')"> 626 <xsl:value-of select="$jobs_2"/> 627 </xsl:when> 618 628 <xsl:otherwise> 619 629 <xsl:text>**EDITME</xsl:text> … … 1081 1091 <xsl:param name="eof-seen" select="false()"/> 1082 1092 <xsl:choose> 1093 <xsl:when test="contains($instructions, '$(nproc)')"> 1094 <xsl:call-template name="comment-test"> 1095 <xsl:with-param 1096 name="instructions" 1097 select="concat(substring-before($instructions, '$(nproc)'), $jobs_2, substring-after($instructions, '$(nproc)'))"/> 1098 <xsl:with-param name="eof-seen" select="$eof-seen"/> 1099 </xsl:call-template> 1100 </xsl:when> 1083 1101 <xsl:when test="contains($instructions,'
')"> 1084 1102 <xsl:call-template name="comment-test">
Note:
See TracChangeset
for help on using the changeset viewer.