summaryrefslogtreecommitdiffstats
path: root/package/config/patches/11-use-mktemp-for-lxdialog.patch
blob: 60190b8774e388706574754c57908b2988c5c4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
@@ -31,7 +31,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