[jhalfs] 08/09: Pass TEST_MISMATCH to lfs.xsl

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Fri, 31 Jan 2025 10:13:17 +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 plabs/check-version
in repository jhalfs.

commit 60898948a9d4857e5392258c00ca3a9de6f2287c
Author: Pierre Labastie <[email protected]>
AuthorDate: Tue Jan 28 15:54:44 2025 +0100

    Pass TEST_MISMATCH to lfs.xsl
    
    This is for checking a version mismatch between book and directory name.
    The preceding commits allow to do this check when downloading packages,
    but if "Retrieve source files" is not ticked, this is not done. In this
    case we do it in scriptlets. But we have to pass a parameter to the
    xsl stylesheet to tell to generate this test in scriptlet.
    
    This commit passes a stringparam test-mismatch to the lfs.xsl stylesheet,
    with the same value as TEST_MISMATCH.
    
    Part of #1740
---
 common/libs/func_book_parser | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser
index 13fd7c9..c993386 100644
--- a/common/libs/func_book_parser
+++ b/common/libs/func_book_parser
@@ -113,6 +113,7 @@ extract_commands() {         #
            --stringparam script-root    "$SCRIPT_ROOT"  \
            --stringparam jobs           "$JOBS"         \
            --stringparam jobs-bp1       "$JOBSBP1"      \
+           --stringparam test-mismatch  "$TEST_MISMATCH"\
            --output "./${COMMANDS}/"                    \
            $XSL                                         \
            prbook.xml >> $LOGDIR/$LOG 2>&1

-- 
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