summaryrefslogtreecommitdiffstats
path: root/bin/check-new-issues
diff options
context:
space:
mode:
authorStefan Fritsch <sf@debian.org>2009-01-03 11:46:47 +0000
committerStefan Fritsch <sf@debian.org>2009-01-03 11:46:47 +0000
commit4d5fada7788cc26d9ad596000069513cba2fa86e (patch)
treea83eb77477cc21c8bca173c1bdcebff3bfe07065 /bin/check-new-issues
parent4098689611d2f8de69fc6f625bccd48cb5013455 (diff)
do not escape spaces when calling apt-cache search
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10838 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/check-new-issues')
-rwxr-xr-xbin/check-new-issues3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues
index e849a5c0d6..3f77e8bc79 100755
--- a/bin/check-new-issues
+++ b/bin/check-new-issues
@@ -287,7 +287,8 @@ sub auto_search {
$prog = $1;
}
if ($prog) {
- my $prog_esc = quotemeta($prog);
+ my $prog_esc =$prog;
+ $prog_esc =~ tr{a-zA-Z0-9_@/-}{ }cs;
print "doing apt-cache search...";
my @ac=`apt-cache search $prog_esc`;
if (scalar @ac > $auto_display_limit || scalar @ac == 0) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy