From: doogie <> Date: Sat, 18 Aug 2001 08:32:28 +0000 (-0800) Subject: [project @ 2001-08-18 01:32:28 by doogie] X-Git-Tag: release/2.6.0~1105 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=31dfd8f7b2a88904ad197924c5c756ba27bec0a1;p=debbugs.git [project @ 2001-08-18 01:32:28 by doogie] Add $config_path and $lib_path at the top, and modify the code to use these vars, instead of hard-coding the paths. --- diff --git a/scripts/receive.in b/scripts/receive.in index 4f27fc76..e9783658 100755 --- a/scripts/receive.in +++ b/scripts/receive.in @@ -1,12 +1,16 @@ #!/usr/bin/perl -w -# $Id: receive.in,v 1.10 2001/08/16 06:39:59 doogie Exp $ +# $Id: receive.in,v 1.11 2001/08/18 01:32:28 doogie Exp $ # usage: mail is piped directly into program #set umask in order to have group-writable incoming/* #umask 002; #load configuration file -require( '/etc/debbugs/config' ); +$config_path = '/org/bugs.debian.org/etc'; +#$lib_path = '/org/bugs.debian.org/scripts'; + +require "$config_path/config"; +$ENV{'PATH'} = '/org/bugs.debian.org/scripts:'.$ENV{'PATH'}; #set source of mail delivery #sets any prefix needed to get mailer to add it to error mail