Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
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/modify-package-state
parent2822716112435d983906bd1dbc28ad8ca2e02728 (diff)
unify mktemp definitions to use --tmpdir if appropriate
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state2
1 files changed, 1 insertions, 1 deletions
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'