summaryrefslogtreecommitdiff
path: root/foomatic-rip.in
diff options
context:
space:
mode:
authorDidier Raboud <didier@raboud.com>2010-05-22 22:10:35 +0200
committerDidier Raboud <didier@raboud.com>2010-05-22 22:10:35 +0200
commit5294ceb9d1eb5d4dd512cffaac0db5c0af261fdc (patch)
tree32e91a20f74a3248be21cf232ad0d64af44badcf /foomatic-rip.in
parent36c9ad50d5284ab11c55375c60902da12df61726 (diff)
Imported Upstream version 3.0.2-20050720upstream/3.0.2-20050720
Diffstat (limited to 'foomatic-rip.in')
-rwxr-xr-xfoomatic-rip.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/foomatic-rip.in b/foomatic-rip.in
index 5b0415b..74e6798 100755
--- a/foomatic-rip.in
+++ b/foomatic-rip.in
@@ -5,7 +5,7 @@ use strict;
use POSIX;
use Cwd;
-my $ripversion='$Revision: 3.43.2.11 $';
+my $ripversion='$Revision: 3.43.2.13 $';
#'# Fix emacs syntax highlighting
# foomatic-rip is a spooler-independent filter script which takes
@@ -374,7 +374,6 @@ if ($debug) {
$logh->autoflush(1);
} elsif (($quiet) && (!$verbose)) {
# Quiet mode, do not log
- close $logh;
open LOG, "> /dev/null";
$logh = *LOG;
@@ -4777,7 +4776,7 @@ sub readConfFile {
if (open CONF, "< $file") {
while (<CONF>)
{
- $conf{$1}="$2" if (m/^\s*([^\#\s]\S*)\s*:\s*(.*)\s*$/);
+ $conf{$1}="$2" if (m/^\s*([^\#\s]\S*)\s*:\s*(.*?)\s*$/);
}
close CONF;
}