mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 10:22:03 +00:00
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…
x
Reference in New Issue
Block a user