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/modify-package-state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/modify-package-state') diff --git a/bin/modify-package-state b/bin/modify-package-state index b4425ec..25b70f2 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -115,7 +115,7 @@ if ${report}; then cat "${output_file}" > "${input_file}" rm -f "${output_file}" } - output_file=$(mktemp 'tmp.modify-package-state.XXXXXXXXXX') + output_file=$(mktemp 'tmp.modify-package-state.XXXXXXXXXX' --tmpdir) trap 'move_output' EXIT else output_file='/dev/null' -- cgit v1.2.3-70-g09d2