11-use-mktemp-for-lxdialog.patch 456 B

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