Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/harvest-commit-times
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-24 10:22:08 +0200
committerErich Eckner <git@eckner.net>2018-09-24 10:22:08 +0200
commitc0973425861ac911a887d0865905571673ce41de (patch)
tree6cb204c673d882df3e8645b6effcb721d842115d /bin/harvest-commit-times
parent2822716112435d983906bd1dbc28ad8ca2e02728 (diff)
unify mktemp definitions to use --tmpdir if appropriate
Diffstat (limited to 'bin/harvest-commit-times')
-rwxr-xr-xbin/harvest-commit-times2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/harvest-commit-times b/bin/harvest-commit-times
index 91c96ba..1f8c2e0 100755
--- a/bin/harvest-commit-times
+++ b/bin/harvest-commit-times
@@ -58,7 +58,7 @@ if ! verbose_flock ${block_flag} 9; then
exit
fi
-tmp_file=$(mktemp "tmp.harvest-commit-times.XXXXXXXXXX")
+tmp_file=$(mktemp 'tmp.harvest-commit-times.XXXXXXXXXX' --tmpdir)
trap 'rm "${tmp_file}"' EXIT
# shellcheck disable=SC2016