[jhalfs] branch trunk updated: Fix --from lfs removal when there's only one occurence of it
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <172465771396.19498.1215476678581627328@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository jhalfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 4b80795 Fix --from lfs removal when there's only one occurence of it
4b80795 is described below
commit 4b80795e1c06d7d97fa655c135e74004a02b3500
Author: Xi Ruoyao <[email protected]>
AuthorDate: Mon Aug 26 15:33:48 2024 +0800
Fix --from lfs removal when there's only one occurence of it
This code path has been incorrect but the vanilla book does not invoke
it. But fix it anyway for customized LFS branches.
---
LFS/lfs.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl
index 8290617..946bc86 100644
--- a/LFS/lfs.xsl
+++ b/LFS/lfs.xsl
@@ -588,7 +588,7 @@ unset OLD_PKGDIR
'--from lfs')"/>
</xsl:when>
<xsl:otherwise>
- <xsl:copy-of select="string()"/>
+ <xsl:copy-of select="substring-after(string(), '--from lfs')"/>
</xsl:otherwise>
</xsl:choose>
<xsl:text>
</xsl:text>
--
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