summaryrefslogtreecommitdiff
path: root/mail/majordomo/patches/patch-af
blob: d2f283ffef0426126daabace2263097ebf94cb18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-af,v 1.4 2010/10/30 23:48:36 spz Exp $

--- majordomo.orig	Sat Nov 27 17:28:39 1999
+++ majordomo	Sat Nov 27 17:29:16 1999
@@ -58,6 +58,7 @@
 print STDERR "$0: starting\n" if $DEBUG;
 
 # All these should be in the standard PERL library
+unshift(@INC, $bindir);
 unshift(@INC, $homedir);
 require "ctime.pl";		# To get MoY definitions for month abbrevs
 require "majordomo_version.pl";	# What version of Majordomo is this?
@@ -1138,7 +1139,7 @@
 	# The password is valid, so run digest
 
     	    open(DIGEST, 
-		"$homedir/digest -m -C -l $list $list_outgoing 2>&1 |");
+		"$bindir/digest -m -C -l $list $list_outgoing 2>&1 |");
 	    @digest_errors = <DIGEST>;
 	    close(DIGEST);