projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In test-post-common.sh and test-mhmail, wait for fakesmtp to start
[mmh]
/
uip
/
mhmail
diff --git
a/uip/mhmail
b/uip/mhmail
index
afe633f
..
2fbedcc
100755
(executable)
--- a/
uip/mhmail
+++ b/
uip/mhmail
@@
-210,7
+210,7
@@
fi
umask 077
tmpdir="${MHTMPDIR:-${TMPDIR:-${TMP:-`$nmhbindir/mhpath +`}}}"
tmpfile="$tmpdir/mhmail$$"
umask 077
tmpdir="${MHTMPDIR:-${TMPDIR:-${TMP:-`$nmhbindir/mhpath +`}}}"
tmpfile="$tmpdir/mhmail$$"
-tmpfilebackup="$tmpdir/[,#]mhmail$$"
+tmpfilebackup="'$tmpdir'/,mhmail$$ '$tmpdir'/#mhmail$$"
tmpfileresent=
message_file=
tmpfileresent=
message_file=
@@
-235,7
+235,7
@@
else
fi
fi
fi
fi
-trap 'rm -f '"$tmpfile"' '"$tmpfilebackup"' '"$tmpfileresent" EXIT
+trap "rm -f '$tmpfile' $tmpfilebackup ${tmpfileresent:+'$tmpfileresent'}" 0
if [ "$body"x = x ]; then
#### First put message header in the file.
if [ "$body"x = x ]; then
#### First put message header in the file.