Update list2cds to allow #-comments in the exclude file.
This commit is contained in:
parent
11f1d4904d
commit
64bd6c0546
|
@ -37,6 +37,7 @@ debian-cd (2.2.18) UNRELEASED; urgency=low
|
|||
kernel-pcmcia-modules-2.4.22-xfs-386,
|
||||
kernel-pcmcia-modules-2.4.22-xfs-686-smp,
|
||||
kernel-source-2.2.20, timidity-patches, tcl8.2 and tk8.2.
|
||||
- Update list2cds to allow #-comments in the exclude file.
|
||||
* Stephen R. Marenka
|
||||
- m68k support.
|
||||
* Santiago Garcia
|
||||
|
|
|
@ -85,6 +85,8 @@ if (-e $exclude) {
|
|||
open (EXCL, "< $exclude") || die "Can't open $exclude : $!\n";
|
||||
while (defined($_=<EXCL>)) {
|
||||
chomp;
|
||||
s/\#.*$//;
|
||||
next if m/^\s*$/;
|
||||
if (not exists $packages{$_}) {
|
||||
msg(1, "INIT: Package '$_' is in excluded but " .
|
||||
"doesn't exist. Ignored.\n");
|
||||
|
|
Loading…
Reference in New Issue