aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/mmdsr9
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