check-lxdialog.sh: use mktemp for temporary file

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-06-21 22:31:12 +02:00
parent a4c99e8fb0
commit b50fedbcd3

View File

@ -31,7 +31,7 @@ ccflags()
}
# Temp file, try to clean up after us
tmp=.lxdialog.tmp
tmp=$(mktemp)
trap "rm -f $tmp" 0 1 2 3 15
# Check if we can link to ncurses