kumquat-buildroot/package/config/patches/11-use-mktemp-for-lxdialog.patch
Peter Korsgaard 72daa122b6 package/config: rebase against 2.6.37-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00

18 lines
443 B
Diff

---
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