jhalfs git · trunk
jhalfs LFS build automation (mirror)
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.gzDon'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