fix for GNU mktemp
This commit is contained in:
parent
ab7385b473
commit
0422023a17
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue