]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2001-08-16 07:11:04 by doogie]
authordoogie <>
Thu, 16 Aug 2001 14:11:04 +0000 (06:11 -0800)
committerdoogie <>
Thu, 16 Aug 2001 14:11:04 +0000 (06:11 -0800)
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

index cdf30c5c0ffae7b0eded9a5c21000c80ce55c33f..811189b7f53c08b68239a66825918d3c1f237fbf 100755 (executable)
@@ -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");