[jhalfs] 02/02: Add case $(nproc) to process-replaceable
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 11 Jan 2025 09:35:41 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit fe484175578209e2a6312fb7650c5b240acf0ece Author: Pierre Labastie <[email protected]> AuthorDate: Sat Jan 11 10:34:26 2025 +0100 Add case $(nproc) to process-replaceable we have now -j<replaceable>$(nproc)</replaceable> in boost. --- BLFS/xsl/process-replaceable.xsl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl index 194feac..2795627 100644 --- a/BLFS/xsl/process-replaceable.xsl +++ b/BLFS/xsl/process-replaceable.xsl @@ -96,6 +96,10 @@ <xsl:when test="contains(string(),'<N>') or string()='N'"> <xsl:text>4</xsl:text> </xsl:when> + <!-- we have now also -j$(nproc) in some replaceable elements--> + <xsl:when test="contains(string(),'nproc')"> + <xsl:apply-templates/> + </xsl:when> <!-- Mercurial config file uses user_name. Replace only if non root. Add a bogus mail field. That works for the proposed tests anyway. --> <xsl:when test="contains(string(),'user_name') and $sudo='y'"> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page