diff --git a/package/config/lxdialog/check-lxdialog.sh b/package/config/lxdialog/check-lxdialog.sh index fcef0f59d5..361866f68e 100644 --- a/package/config/lxdialog/check-lxdialog.sh +++ b/package/config/lxdialog/check-lxdialog.sh @@ -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