aboutsummaryrefslogtreecommitdiff
path: root/bin/edda
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-11-27 11:41:24 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-11-27 11:41:24 +1300
commit82e75fd244defc3bcb45495c34f67b26956f58a1 (patch)
tree775fb47f2ef4f48f16285fac72107a683023d1af /bin/edda
parentRemove a now-inapplicable comment (diff)
downloaddotfiles-82e75fd244defc3bcb45495c34f67b26956f58a1.tar.gz
dotfiles-82e75fd244defc3bcb45495c34f67b26956f58a1.zip
Fix up some mktemp(1) templates
Diffstat (limited to 'bin/edda')
-rwxr-xr-xbin/edda2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/edda b/bin/edda
index f0d716d7..996ed2a5 100755
--- a/bin/edda
+++ b/bin/edda
@@ -51,7 +51,7 @@ for arg ; do
done
# Duplicate stdin into a file, which we'll remove on exit
-stdin=$(mktemp) || exit
+stdin=$(mktemp -dt "$self".XXXXXX) || exit
cleanup() {
rm -f -- "$stdin"
}