From c0973425861ac911a887d0865905571673ce41de Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 24 Sep 2018 10:22:08 +0200 Subject: unify mktemp definitions to use --tmpdir if appropriate --- bin/harvest-commit-times | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/harvest-commit-times') 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 -- cgit v1.2.3-54-g00ecf