aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tools.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/tools.in b/lib/tools.in
index 37fa212..0005be9 100644
--- a/lib/tools.in
+++ b/lib/tools.in
@@ -10,14 +10,7 @@
# create a temporary file in a secure way.
#
function maketemp() {
- if [ -x /bin/mktemp ]
- then
- local tempfile=`mktemp /tmp/$1.XXXXXXXX`
- else
- DATE=`date`
- sectmp=`echo $DATE | @MD5SUM@ | cut -d- -f1`
- local tempfile=/tmp/$1.$sectmp
- fi
+ local tempfile=`mktemp /tmp/$1.XXXXXXXX`
echo $tempfile
}