diff options
author | Mark Sapiro <mark@msapiro.net> | 2009-09-27 15:06:55 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2009-09-27 15:06:55 -0700 |
commit | 397b56598e0bcb4766c007ba2b775e11f38f2c31 (patch) | |
tree | 2a10c6e2d1975f740782520d017ea3dd90c129f6 /contrib/mmdsr | |
parent | 167b25769c95b29c1e4c419905aa24d9a50e2e9f (diff) | |
download | mailman2-397b56598e0bcb4766c007ba2b775e11f38f2c31.tar.gz mailman2-397b56598e0bcb4766c007ba2b775e11f38f2c31.tar.xz mailman2-397b56598e0bcb4766c007ba2b775e11f38f2c31.zip |
Yet another change to accommodate various flavors of mktemp.
Diffstat (limited to 'contrib/mmdsr')
-rw-r--r-- | contrib/mmdsr | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/mmdsr b/contrib/mmdsr index b4d8ea9e..8823f426 100644 --- a/contrib/mmdsr +++ b/contrib/mmdsr @@ -205,9 +205,10 @@ XARGS="/usr/bin/xargs" WC="/usr/bin/wc" ############################################################################### -# Directory for temporary files +# Arguments for your mktemp command to specify directory and/or create file. +# For example, HPUX mktemp requires "-c"; FreeBSD doesn't accept "-p <dir>". ############################################################################### -TMPDIR="/tmp" +TMPDIR="-p /tmp" ############################################################################### # Mailman queue directory @@ -312,8 +313,8 @@ if [ "${SLEEPTIME}" != "" -a "${RCPTS}x" != "${SENDER}x" ] ; then fi fi -TMP=`$MKTEMP -p $TMPDIR` -TMPLOG=`$MKTEMP -p $TMPDIR` +TMP=`$MKTEMP $TMPDIR` +TMPLOG=`$MKTEMP $TMPDIR` if [ "${RCPTS}x" != "x" ] ; then echo "From: ${SENDER}" >> $TMP |