From ba8ae1cfe503ad66fc46579b5b74788052345a74 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Fri, 14 May 2010 21:58:15 +0200 Subject: [PATCH] Fix broken implementation of "Program" in .yapfaqrc. Fixes #4. Signed-off-by: Thomas Hochstein --- yapfaq.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yapfaq.pl b/yapfaq.pl index 97e4b78..5af5f8d 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -66,7 +66,7 @@ if (-f $RCFile) { warn "$0: W: .rc file $RCFile does not exist!\n"; } -$Options{'s'} = $Config{'Program'} if (!defined($Options{'s'})); +$Options{'s'} = $Config{'Program'} if (defined($Config{'Program'}) && $Config{'Program'} && !defined($Options{'s'})); # read configuration (configured FAQs) my @Config;