Nimbin[12]?Mirrors & Forks / jhalfs / commits / 9eb3dbe

jhalfs git · trunk

jhalfs LFS build automation (mirror)

lfs mirror bash · first commit 2005-09-11 · last commit 2024-02-13 (2 years ago) · synced 3 days ago · upstream: git.linuxfromscratch.org/jhalfs

Python 78.4% Shell 19.8% Makefile 1.8%
git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gz

Don't build Xorg components that are commented out

Pierre Labastie · 2023-08-30 18:04 · 9eb3dbe1c4a7cab8f9c22edbba911ce4375550a0

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