Fixed harmless /tmp problem.

This commit is contained in:
Marcus Meissner 2005-08-10 10:51:50 +00:00 committed by Alexandre Julliard
parent 1f90b5cff0
commit 3cb3651bc8
1 changed files with 3 additions and 2 deletions

View File

@ -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