[jhalfs] 03/03: BLFS: prevent generating "bash -e" and "exit" instr
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Mon, 27 Apr 2026 08:04:48 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1777277097-1253-26618 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 3d13aa1d2f646f0b0bb9f79c9e4ca68ccfe851f8 Author: Pierre Labastie <[email protected]> AuthorDate: Mon Apr 27 10:03:43 2026 +0200 BLFS: prevent generating "bash -e" and "exit" instr --- BLFS/xsl/process-install.xsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BLFS/xsl/process-install.xsl b/BLFS/xsl/process-install.xsl index 2657bbc..6f7e557 100644 --- a/BLFS/xsl/process-install.xsl +++ b/BLFS/xsl/process-install.xsl @@ -334,8 +334,12 @@ echo Size after install: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG <xsl:with-param name="want-stats" select="$want-stats"/> </xsl:call-template> </xsl:if> - <!-- we have a special case for the "as_root" function --> + <!-- we have a special case for the "as_root" function. + We also want to remove "bash -e" and "exit" intructions (case + of alsa-tools) --> <xsl:choose> + <xsl:when test="string($current-instr)='bash -e'"/> + <xsl:when test="string($current-instr)='exit'"/> <xsl:when test="contains(string($current-instr),'as_root()')"> <xsl:call-template name="custom_as_root"/> </xsl:when> -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1777277097-1253-26618 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page ------------=_1777277097-1253-26618--