From 31dfd8f7b2a88904ad197924c5c756ba27bec0a1 Mon Sep 17 00:00:00 2001 From: doogie <> Date: Sat, 18 Aug 2001 00:32:28 -0800 Subject: [PATCH] [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. --- scripts/receive.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5