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

1234567891011121314151617
  1. ---
  2. lxdialog/check-lxdialog.sh | 2 +-
  3. 1 file changed, 1 insertion(+), 1 deletion(-)
  4. Index: b/lxdialog/check-lxdialog.sh
  5. ===================================================================
  6. --- a/lxdialog/check-lxdialog.sh
  7. +++ b/lxdialog/check-lxdialog.sh
  8. @@ -34,7 +34,7 @@
  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