aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-22 17:10:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-22 17:10:48 +0000
commit7a7d1c355d8972c50adfbf19226868f89ed0aa95 (patch)
tree1d36ec6fd9f85b9c59d25f42d34997ac9d598518
parente9d77d76d7e54f0349ed29f68251a276d4b4b769 (diff)
downloadrpmdrake-7a7d1c355d8972c50adfbf19226868f89ed0aa95.tar
rpmdrake-7a7d1c355d8972c50adfbf19226868f89ed0aa95.tar.gz
rpmdrake-7a7d1c355d8972c50adfbf19226868f89ed0aa95.tar.bz2
rpmdrake-7a7d1c355d8972c50adfbf19226868f89ed0aa95.tar.xz
rpmdrake-7a7d1c355d8972c50adfbf19226868f89ed0aa95.zip
invoke parsehdlist with hdlists names under simple quotes to
prevent from shell crazyness with spaces and parenthesis
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 0e9848b0..8adabfe9 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -146,7 +146,7 @@ sub do_search($$$$$$) {
gtksignal_connect(new Gtk::Button(but(_("Stop"))),
clicked => sub { $searchstop = 1 }))));
$searchw->sync;
- open SF, "parsehdlist --fileswinfo --description --summary @hdlists |";
+ open SF, 'parsehdlist --fileswinfo --description --summary '.join(' ', map { "\'$_\'" } @hdlists).' |';
my ($pkg, $progresscount);
while (<SF>) {
$searchstop and last;