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:
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}" | \