From b895416bc15acb0a602d334826a0f2b1c530c238 Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 20 Apr 2006 15:35:01 +0000 Subject: [PATCH] use "define" for ezmlm-web.cgi location --- share/index.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/index.c b/share/index.c index 058f854..7b2c000 100644 --- a/share/index.c +++ b/share/index.c @@ -1,5 +1,8 @@ /* $Id$ */ +/* Change this path to wherever you decided to put ezmlm-web.cgi */ +#define EZMLM_WEB_CGI "/usr/local/bin/ezmlm-web.cgi" + #include #include @@ -10,8 +13,7 @@ int main(void) { - /* Change this path to wherever you decided to put ezmlm-web.cgi */ - execv("/usr/local/bin/ezmlm-web.cgi", NULL); + execv(EZMLM_WEB_CGI, NULL); /* Note that you could also use the following to allow a specific user to store their mailing lists and configuration file in a different @@ -29,7 +31,7 @@ int main(void) { /* char *switches[] = { "ezmlm-web.cgi", "-d", "/tmp/ezmlm-web-demo", NULL }; - execv("/usr/local/bin/ezmlm-web.cgi", switches); + execv(EZMLM_WEB_CGI, switches); */