* scripts/dpkg-gensymbols.pl: Do not accept empty parameters for
-v, -P and -e. "-v" led to empty versions in symbols files and people used
that option by mistake believing it would enable a verbose mode.
+2008-05-05 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/dpkg-gensymbols.pl: Do not accept empty parameters for
+ -v, -P and -e.
+
2008-05-05 Raphael Hertzog <hertzog@debian.org>
* scripts/dpkg-shlibdeps.pl: Include the format of the desired
[ Raphael Hertzog ]
* Enhance dpkg-shlibdeps's error message when a library can't be found to
include the ELF format of the desired library. Closes: #474671
+ * dpkg-gensymbols now refuses empty values for the the -v -P and -e
+ parameters.
[ Updated dpkg translations ]
* Portuguese (Miguel Figueiredo).
$compare = defined($1) ? $1 : 1;
} elsif (m/^-d$/) {
$debug = 1;
- } elsif (m/^-v(.*)/) {
+ } elsif (m/^-v(.+)$/) {
$sourceversion = $1;
- } elsif (m/^-e(.*)/) {
+ } elsif (m/^-e(.+)$/) {
my $file = $1;
if (-e $file) {
push @files, $file;
}
} elsif (m/^-p(.*)/) {
error(_g("Illegal package name \`%s'"), $1);
- } elsif (m/^-P(.*)$/) {
+ } elsif (m/^-P(.+)$/) {
$packagebuilddir = $1;
$packagebuilddir =~ s{/+$}{};
} elsif (m/^-O$/) {