summaryrefslogtreecommitdiff
path: root/scripts/mkreq
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2015-03-31 09:23:35 +0200
committerFredrik Thulin <fredrik@thulin.net>2015-03-31 09:23:35 +0200
commit0fc39fd18b57d9fe651d9a176927e5ae3eb517ed (patch)
treee96e51775b26a845e12908b17293c4cd4f809d14 /scripts/mkreq
parentc965e38c98aacd87e0bda1d34bb1d1f53cf0322a (diff)
Use mktemp plain to use system default TMPDIR.
Hopefully, TMPDIR points to a ramdisk.
Diffstat (limited to 'scripts/mkreq')
-rwxr-xr-xscripts/mkreq4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkreq b/scripts/mkreq
index c5e8e9f..2b59f52 100755
--- a/scripts/mkreq
+++ b/scripts/mkreq
@@ -77,8 +77,8 @@ fi
cfg=`mktemp`
-key="/tmp/$host.key"
-csr="/tmp/$host.csr"
+key=`mktemp`
+csr=`mktemp`
trap 'rm -f $cfg' EXIT