From b50fedbcd3f7badd8f33f163162ed4ae6224982e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 21 Jun 2010 22:31:12 +0200 Subject: [PATCH] check-lxdialog.sh: use mktemp for temporary file Signed-off-by: Peter Korsgaard --- package/config/lxdialog/check-lxdialog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2