From 7a7d1c355d8972c50adfbf19226868f89ed0aa95 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 22 Aug 2002 17:10:48 +0000 Subject: invoke parsehdlist with hdlists names under simple quotes to prevent from shell crazyness with spaces and parenthesis --- rpmdrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { $searchstop and last; -- cgit v1.2.1