check-lxdialog.sh: use mktemp for temporary file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a4c99e8fb0
commit
b50fedbcd3
@ -31,7 +31,7 @@ ccflags()
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Temp file, try to clean up after us
|
# Temp file, try to clean up after us
|
||||||
tmp=.lxdialog.tmp
|
tmp=$(mktemp)
|
||||||
trap "rm -f $tmp" 0 1 2 3 15
|
trap "rm -f $tmp" 0 1 2 3 15
|
||||||
|
|
||||||
# Check if we can link to ncurses
|
# Check if we can link to ncurses
|
||||||
|
Loading…
Reference in New Issue
Block a user