diff options
author | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
commit | 633a9409ae245b06ad5ae6a9b68853879cad03dc (patch) | |
tree | c82de15d771c0441e0bca97c715449125590d6f5 /bin/strict-bashism-check | |
parent | 5fb9f8ad7843e087c974cc1af291b4f494824462 (diff) | |
download | builder-633a9409ae245b06ad5ae6a9b68853879cad03dc.tar.xz |
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-x | bin/strict-bashism-check | 2 |
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}" | \ |