updateminiupnpcstrings.sh: mktemp
This commit is contained in:
parent
f1f3b6a5fc
commit
177cac1368
|
@ -12,7 +12,11 @@ fi
|
|||
if [ -n "$2" ] ; then
|
||||
TEMPLATE_FILE="$2"
|
||||
fi
|
||||
TMPFILE=`mktemp -t miniupnpcstrings`
|
||||
TMPFILE=`mktemp -t miniupnpcstringsXXXXXX`
|
||||
if [ ! -f "$TMPFILE" ] ; then
|
||||
echo "mktemp failure"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# detecting the OS name and version
|
||||
OS_NAME=`uname -s`
|
||||
|
|
Loading…
Reference in New Issue