summaryrefslogtreecommitdiff
path: root/package/config
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-21 22:31:12 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-21 23:02:24 +0200
commitb50fedbcd3f7badd8f33f163162ed4ae6224982e (patch)
tree55f9c5ebfc2dbff1f0807c7607cfe84f580d965f /package/config
parenta4c99e8fb068686e8d81fa0b33bf088651f3805f (diff)
check-lxdialog.sh: use mktemp for temporary file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/config')
-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 fcef0f59d..361866f68 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