summaryrefslogtreecommitdiff
path: root/src/cups
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2008-10-26 16:12:59 +0000
committerRoger Leigh <rleigh@debian.org>2008-10-26 16:12:59 +0000
commite74aac350fb79d8cc3ed6a97451b30443ad9dac9 (patch)
treec27583b3e5051c715b6b0166a60b8c870511e376 /src/cups
parent5074d880144fc4a9e0566e7b204503cbeb6b328a (diff)
Imported Upstream version 4.3.99+cvs20050901
Diffstat (limited to 'src/cups')
-rw-r--r--src/cups/cups-genppdupdate.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cups/cups-genppdupdate.in b/src/cups/cups-genppdupdate.in
index 42f7cd9..94e9085 100644
--- a/src/cups/cups-genppdupdate.in
+++ b/src/cups/cups-genppdupdate.in
@@ -1,5 +1,5 @@
#! @PERL@ -w
-# $Id: cups-genppdupdate.in,v 1.20 2005/07/04 23:07:11 rleigh Exp $
+# $Id: cups-genppdupdate.in,v 1.21 2005/08/14 10:07:36 rleigh Exp $
# Update CUPS PPDs for Gutenprint queues.
# Copyright (C) 2002-2003 Roger Leigh (rleigh@debian.org)
#
@@ -93,7 +93,7 @@ umask 0177;
my @ppdglob = glob("$ppd_dir/*.{ppd,PPD}");
my $ppdlist = join ' ', @ppdglob;
if (@ppdglob) {
- open PPDFILES, "egrep -i -l \"Gutenprint|Gimp-Print\" $ppdlist|" or die "can't grep $ppd_dir/*: $!";
+ open PPDFILES, '-|', 'egrep', '-i', '-l', 'Gutenprint|Gimp-Print', @ppdglob or die "can't grep $ppd_dir/*: $!";
while (<PPDFILES>) {
chomp;
push @ppd_files, $_;