miniupnpc/testminiwget.sh: fix for OS X mktemp
This commit is contained in:
parent
9cf3b35637
commit
26960a8a25
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue