in constructing @find_args.
Closes: #353506
+2006-02-19 Frank Lichtenheld <djpig@debian.org>
+
+ * scripts/dpkg-scanpackages.pl: Fix option
+ parsing of arch option. Also fix a mistake
+ in constructing @find_args.
+
2006-02-18 Frank Lichtenheld <djpig@debian.org>
* scripts/dpkg-gencontrol.pl: Call parsedep
* Fix handling of -DArchitecure=foo in dpkg-gencontrol. Closes: #251911
* Handle architectures in all dependency fields in debian/control,
even those of binary packages. Closes: #252657, #324741, #347819
+ * More dpkg-scanpackages fixes (--arch option handling). Closes: #353506
[ Updated dselect Translations ]
* hu.po (SZERVĂC Attila).
my %field_case;
@field_case{map{lc($_)} @fieldpri} = @fieldpri;
-use Getopt::Long;
+use Getopt::Long qw(:config bundling);
my %options = (help => 0,
udeb => 0,
my $ext = $options{udeb} ? 'udeb' : 'deb';
my @find_args;
if ($options{arch}) {
- @find_args = ('(','-name',"*_all.$ext",'-o','-name',"_${arch}.$ext",')',);
+ @find_args = ('(','-name',"*_all.$ext",'-o','-name',"*_${arch}.$ext",')',);
}
else {
@find_args = ('-name',"*.$ext");