Skip comments in package lists.

Comments in package lists used to work in live-build 3.x (although
possibly only as a side-effect of some other logic) and being able to
comment package is a useful feature (to explain why some packages are
included and to make it easy to uncomment some lines to add more useful
packages).
This commit is contained in:
Raphaël Hertzog 2014-12-05 09:45:40 +01:00 committed by Daniel Baumann
parent 2841d696c0
commit 04a09f27e4
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ Expand_packagelist ()
_LB_ENABLED=1
;;
\#*)
# Skip comments
;;
*)
if [ ${_LB_ENABLED} -eq 1 ]
then