------------------------------------------------------------
revno: 1201
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Sun 2009-09-27 15:06:55 -0700
message:
Yet another change to accommodate various flavors of mktemp.
modified:
contrib/mmdsr
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription.
=== modified file 'contrib/mmdsr'
--- contrib/mmdsr 2009-09-27 21:17:48 +0000
+++ contrib/mmdsr 2009-09-27 22:06:55 +0000
@@ -205,9 +205,10 @@
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 @@
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
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org