From be38bdf58a0b8ef9b7438f1a990340823fd3d317 Mon Sep 17 00:00:00 2001 From: doogie <> Date: Thu, 16 Aug 2001 06:11:04 -0800 Subject: [PATCH] [project @ 2001-08-16 07:11:04 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/process.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/process.in b/scripts/process.in index cdf30c5c..811189b7 100755 --- a/scripts/process.in +++ b/scripts/process.in @@ -1,12 +1,17 @@ #!/usr/bin/perl -# $Id: process.in,v 1.34 2001/08/16 07:07:53 doogie Exp $ +# $Id: process.in,v 1.35 2001/08/16 07:11:04 doogie Exp $ # # Usage: process nn # Temps: incoming/Pnn use Mail::Address; -require( '/etc/debbugs/config' ); -require( '/usr/lib/debbugs/errorlib' ); +$config_path = '/org/bugs.debian.org/etc'; +$lib_path = '/org/bugs.debian.org/scripts'; + +require "$config_path/config"; +require "$lib_path/errorlib"; +$ENV{'PATH'} = $lib_path.':'.$ENV{'PATH'}; + chdir( "$gSpoolDir" ) || die 'chdir spool: $!\n'; #open(DEBUG,"> /tmp/debbugs.debug"); -- 2.39.5