From d131b99fdb144d62cf93a1f3b2d75de4256d3555 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 24 Sep 2007 19:37:53 +0200 Subject: [PATCH] dpkg-shlibdeps: Fix two option regexps regexps -x and -v were missing the starting ^ which could make them match random other stuff, e.g. filenames. --- scripts/dpkg-shlibdeps.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index 239e00a9..5f435866 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -69,9 +69,9 @@ foreach (@ARGV) { $ignore_missing_info = 1; } elsif (m/^-t(.*)$/) { $packagetype = $1; - } elsif (m/-v$/) { + } elsif (m/^-v$/) { $debug = 1; - } elsif (m/-x(.*)$/) { + } elsif (m/^-x(.*)$/) { push @exclude, $1; } elsif (m/^-/) { usageerr(sprintf(_g("unknown option \`%s'"), $_)); -- 2.39.5