diff options
author | Stefan Fritsch <sf@debian.org> | 2009-01-03 11:46:47 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@debian.org> | 2009-01-03 11:46:47 +0000 |
commit | 72ab1d78dbfe9e96c7e662090ffd13108a2b8657 (patch) | |
tree | 421ae40ea14adf937fd062927768bcc9a7379182 /bin/check-new-issues | |
parent | 0e452401e79adec0991b5ebbc567f94b726d3f13 (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-x | bin/check-new-issues | 3 |
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) { |