Commit b50fedbc authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

check-lxdialog.sh: use mktemp for temporary file

parent a4c99e8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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