summaryrefslogtreecommitdiffstats
path: root/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
diff options
context:
space:
mode:
Diffstat (limited to 'support/kconfig/patches/11-use-mktemp-for-lxdialog.patch')
-rw-r--r--support/kconfig/patches/11-use-mktemp-for-lxdialog.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch b/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
new file mode 100644
index 000000000..21ca22883
--- /dev/null
+++ b/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch
@@ -0,0 +1,17 @@
+---
+ lxdialog/check-lxdialog.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: config/lxdialog/check-lxdialog.sh
+===================================================================
+--- config.orig/lxdialog/check-lxdialog.sh
++++ config/lxdialog/check-lxdialog.sh
+@@ -33,7 +33,7 @@
+ }
+
+ # 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