summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-21 20:31:12 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-06-21 21:02:24 (GMT)
commitb50fedbcd3f7badd8f33f163162ed4ae6224982e (patch)
tree55f9c5ebfc2dbff1f0807c7607cfe84f580d965f
parenta4c99e8fb068686e8d81fa0b33bf088651f3805f (diff)
downloadbuildroot-b50fedbcd3f7badd8f33f163162ed4ae6224982e.tar.gz
buildroot-b50fedbcd3f7badd8f33f163162ed4ae6224982e.tar.bz2
check-lxdialog.sh: use mktemp for temporary file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/config/lxdialog/check-lxdialog.sh2
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