[jhalfs] branch trunk updated: Don't build Xorg components that are commented out

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <169341888861.14358.13464209092845943686@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 9eb3dbe  Don't build Xorg components that are commented out
9eb3dbe is described below

commit 9eb3dbe1c4a7cab8f9c22edbba911ce4375550a0
Author: Pierre Labastie <[email protected]>
AuthorDate: Wed Aug 30 20:04:38 2023 +0200

    Don't build Xorg components that are commented out
    
    gen-special.sh uses the list of files and md5 from the
    cat instructions to generate an xml page for each of
    the individual components. Until now, there were no commented
    out component, so gen-special.sh was not prepared to handle
    comments. Now, it removes lines containing comments.
---
 BLFS/gen-special.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index adaac4c..4dcd904 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -116,7 +116,7 @@ EOF
 # So we have to read that command too, since it may be assumed
 # that the preceding package is a dependency of the following,
 # except the first.
-  list_cat="$(sed -n '/>cat/,/EOF</p' $file | grep -v 'cat\|EOF' |
+  list_cat="$(sed -n '/>cat/,/EOF</p' $file | grep -v 'cat\|EOF\|#' |
               awk '{ print $NF }' | sed 's/-&.*//')"
 
 # Rationale for the sed below: the following for breaks words at spaces (unless

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.