xref: /OK3568_Linux_fs/buildroot/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1---
2 lxdialog/check-lxdialog.sh |    2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5Index: kconfig/lxdialog/check-lxdialog.sh
6===================================================================
7--- kconfig.orig/lxdialog/check-lxdialog.sh
8+++ kconfig/lxdialog/check-lxdialog.sh
9@@ -41,7 +41,7 @@ ccflags()
10 }
11
12 # Temp file, try to clean up after us
13-tmp=.lxdialog.tmp
14+tmp=$(mktemp)
15 trap "rm -f $tmp" 0 1 2 3 15
16
17 # Check if we can link to ncurses
18