X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Freceive.in;h=eb101a4029fe5cf681c1c5f2b6fe60ceb8c62c61;hb=2d519e5e0338c5b23356454c16ae1b6349c55c51;hp=815b6c80c649acdbfc7550a5deacc761d0e48c41;hpb=a54f07e01f95b7ab702a9f08375dc8dad3394ac9;p=debbugs.git diff --git a/scripts/receive.in b/scripts/receive.in index 815b6c8..eb101a4 100755 --- a/scripts/receive.in +++ b/scripts/receive.in @@ -5,11 +5,9 @@ #set umask in order to have group-writable incoming/* #umask(002); -#load configuration file -$config_path = '/etc/debbugs'; -#$lib_path = '/usr/lib/debbugs'; +use Debbugs::Config qw(:globals :text); +my $lib_path = $gLibPath; -require "$config_path/config"; $ENV{'PATH'} = '/usr/lib/debbugs:'.$ENV{'PATH'}; #set source of mail delivery @@ -28,7 +26,6 @@ if ( $gMailer eq 'exim' ) s/\>//; s/\