From: Peter Korsgaard Date: Mon, 21 Jun 2010 20:31:12 +0000 (+0200) Subject: check-lxdialog.sh: use mktemp for temporary file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b50fedbcd3f7badd8f33f163162ed4ae6224982e;p=buildroot.git check-lxdialog.sh: use mktemp for temporary file Signed-off-by: Peter Korsgaard --- diff --git a/package/config/lxdialog/check-lxdialog.sh b/package/config/lxdialog/check-lxdialog.sh index fcef0f59d5..361866f68e 100644 --- a/package/config/lxdialog/check-lxdialog.sh +++ b/package/config/lxdialog/check-lxdialog.sh @@ -31,7 +31,7 @@ ccflags() } # 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