]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2001-08-18 01:32:28 by doogie]
authordoogie <>
Sat, 18 Aug 2001 08:32:28 +0000 (00:32 -0800)
committerdoogie <>
Sat, 18 Aug 2001 08:32:28 +0000 (00:32 -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/receive.in

index 4f27fc765ab1743cd34a25ada560f282fd4bb60f..e978365888ae2d24dca8af2f196aaed24066370c 100755 (executable)
@@ -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