[Buildroot] [git commit master 1/1] check-lxdialog.sh: use mktemp for temporary file

Peter Korsgaard jacmet at sunsite.dk
Mon Jun 21 21:07:12 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=b50fedbcd3f7badd8f33f163162ed4ae6224982e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/config/lxdialog/check-lxdialog.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/config/lxdialog/check-lxdialog.sh b/package/config/lxdialog/check-lxdialog.sh
index fcef0f5..361866f 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
-- 
1.7.1




More information about the buildroot mailing list