Stripping out comments in package lists.
authorDaniel Baumann <daniel@debian.org>
Tue, 9 Apr 2013 03:54:39 +0000 (05:54 +0200)
committerDaniel Baumann <daniel@debian.org>
Tue, 9 Apr 2013 03:54:39 +0000 (05:54 +0200)
scripts/build/chroot_package-lists

index c06c116..207dd8d 100755 (executable)
@@ -82,7 +82,7 @@ then
                then
                        # Generating package list
                        Expand_packagelist "$(basename ${LIST})" "config/package-lists" \
-                               >> chroot/root/packages.chroot
+                               | grep -v '^#' >> chroot/root/packages.chroot
                fi
        done