miniupnpc/testminiwget.sh: fix for OS X mktemp

This commit is contained in:
Thomas Bernard 2015-09-04 17:47:11 +02:00
parent 9cf3b35637
commit 26960a8a25
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $Id: testminiwget.sh,v 1.12 2015/07/16 15:13:49 nanard Exp $ # $Id: testminiwget.sh,v 1.13 2015/09/03 17:57:44 nanard Exp $
# project miniupnp : http://miniupnp.free.fr/ # project miniupnp : http://miniupnp.free.fr/
# (c) 2011-2015 Thomas Bernard # (c) 2011-2015 Thomas Bernard
# #
@ -15,7 +15,7 @@
# The script was tested and works with ksh, bash # The script was tested and works with ksh, bash
# it should now also run with dash # it should now also run with dash
TMPD=`mktemp -t -d miniwgetXXXXXXXXXX` TMPD=`mktemp -d -t miniwgetXXXXXXXXXX`
HTTPSERVEROUT="${TMPD}/httpserverout" HTTPSERVEROUT="${TMPD}/httpserverout"
EXPECTEDFILE="${TMPD}/expectedfile" EXPECTEDFILE="${TMPD}/expectedfile"
DOWNLOADEDFILE="${TMPD}/downloadedfile" DOWNLOADEDFILE="${TMPD}/downloadedfile"