Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/strict-bashism-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
committerErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
commit633a9409ae245b06ad5ae6a9b68853879cad03dc (patch)
treec82de15d771c0441e0bca97c715449125590d6f5 /bin/strict-bashism-check
parent5fb9f8ad7843e087c974cc1af291b4f494824462 (diff)
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-xbin/strict-bashism-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check
index 15fff71..3bb3884 100755
--- a/bin/strict-bashism-check
+++ b/bin/strict-bashism-check
@@ -43,7 +43,7 @@ git diff-index --check --cached $against -- || exit $?
tree=$(git write-tree)
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.strict-bashism-check.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
git archive "${tree}" | \