kumquat-buildroot/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch

18 lines
456 B
Diff
Raw Normal View History

---
lxdialog/check-lxdialog.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: kconfig/lxdialog/check-lxdialog.sh
===================================================================
--- kconfig.orig/lxdialog/check-lxdialog.sh
+++ kconfig/lxdialog/check-lxdialog.sh
@@ -41,7 +41,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