X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=00ecbc6ab6c2a4ba49415f5fbcad933e0ac116f1;hp=97e4b7893203480ad477f1724a21d34634ca5f20;hb=994d97596958105f103c12c8efb10431e17887c9;hpb=cdfec198d60d055f7586edd2dafbb2a37e049582 diff --git a/yapfaq.pl b/yapfaq.pl index 97e4b78..00ecbc6 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -1,6 +1,6 @@ #! /usr/bin/perl -W # -# yapfaq Version 0.8 by Thomas Hochstein +# yapfaq Version 0.8.1 by Thomas Hochstein # (Original author: Marc Brockschmidt) # # This script posts any project described in its config-file. Most people @@ -12,7 +12,7 @@ # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -our $VERSION = "0.8"; +our $VERSION = "0.8.1"; # Please do not change this setting! # You may override the default .rc file (.yapfaqrc) by using "-c .rc file" @@ -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;