fix for GNU mktemp

This commit is contained in:
Thomas Bernard 2015-09-04 18:35:16 +02:00
parent ab7385b473
commit 0422023a17
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ IF=lo
if [ "$OS" = "Darwin" ] ; then if [ "$OS" = "Darwin" ] ; then
IF=lo0 IF=lo0
fi fi
SOCKET=`mktemp -t minissdpdsocket` SOCKET=`mktemp -t minissdpdsocketXXXXXX`
PID="${SOCKET}.pid" PID="${SOCKET}.pid"
./minissdpd -s $SOCKET -p $PID -i $IF || exit 1 ./minissdpd -s $SOCKET -p $PID -i $IF || exit 1
./testminissdpd -s $SOCKET || exit 2 ./testminissdpd -s $SOCKET || exit 2