------------------------------------------------------------
revno: 1081
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Sun 2009-09-27 15:05:09 -0700
message:
  Yet another change to accommodate various flavors of mktemp.
modified:
  contrib/mmdsr


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
=== modified file 'contrib/mmdsr'
--- contrib/mmdsr	2009-09-27 21:20:29 +0000
+++ contrib/mmdsr	2009-09-27 22:05:09 +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

Reply via email to