Commit 3cb3651b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed harmless /tmp problem.

parent 1f90b5cf
......@@ -59,8 +59,8 @@ type xmessage >/dev/null 2>/dev/null
if [ $? -ne 0 ] ; then
# xmessage not found; make sure the user notices this error
# (GUI users wouldn't even notice if we printed the text on console !)
MSGFILE=/tmp/WINE_CANNOT_FIND_XMESSAGE
cat > $MSGFILE << EOF
MSGFILE=`mktemp "/tmp/wine.xmessage.XXXXXX"`
cat > $MSGFILE <<EOF
Warning:
The Wine launcher is unable to find the xmessage program,
which it needs to properly notify you of Wine execution status
......@@ -87,6 +87,7 @@ EOF
# ok, we really give up now, this system is hosed ;-)
cat $MSGFILE
rm $MSGFILE
else
XMESSAGE="xmessage $COLOR"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment