summaryrefslogtreecommitdiff
path: root/print/foomatic-filters/patches/patch-foomatic-gswrapper.in
blob: 8e0e85dfb525702f7e305db84695521085fb1d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-foomatic-gswrapper.in,v 1.1 2015/06/28 13:09:35 gdt Exp $

--- foomatic-gswrapper.in.orig	2004-01-22 03:42:35.000000000 +0000
+++ foomatic-gswrapper.in
@@ -19,10 +19,10 @@ my $configpath = "@sysconfdir@/foomatic"
 
 # Set GhostScript path
 my $gspath = "gs";
-$gspath = $conf{gspath} if defined(%conf) and defined $conf{gspath};
+$gspath = $conf{gspath} if %conf and defined $conf{gspath};
 my $execpath = "@prefix@/bin:/usr/local/bin:/usr/bin:/bin";
 # Get execution path from config file
-$execpath = $conf{execpath} if defined(%conf) and defined $conf{execpath};
+$execpath = $conf{execpath} if %conf and defined $conf{execpath};
 $ENV{'PATH'} = $execpath;
 
 grep (m!\-sOutputFile=\-!