Mercurial > hg > mlmmj
changeset 35:fd6096b0426a
make mlmmj-make-ml.sh use /bin/sh (bourne shell)
author | mmj |
---|---|
date | Fri, 23 Apr 2004 21:06:38 +1000 |
parents | 1344f636cff3 |
children | b81af15bf60c |
files | src/mlmmj-make-ml.sh |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-make-ml.sh Fri Apr 23 18:25:37 2004 +1000 +++ b/src/mlmmj-make-ml.sh Fri Apr 23 21:06:38 2004 +1000 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # mlmmj-make-ml.sh - henne@hennevogel.de # @@ -58,7 +58,12 @@ LISTDIR="$SPOOLDIR/$LISTNAME" -mkdir -p "$LISTDIR"/{incoming,queue,archive,text,subconf,unsubconf} && +mkdir -p $LISTDIR + +for DIR in incoming queue archive text subconf unsubconf +do + mkdir "$LISTDIR"/"$DIR" +done touch "$LISTDIR"/index touch "$LISTDIR"/subscribers @@ -78,7 +83,7 @@ POSTMASTER="postmaster" fi -MLMMJRECIEVE=`type -p mlmmj-recieve` +MLMMJRECIEVE=`which mlmmj-recieve` if [ -z "$MLMMJRECIEVE" ]; then MLMMJRECIEVE="/path/to/mlmmj-recieve" fi