diff options
author | Erich Eckner <git@eckner.net> | 2018-09-24 10:22:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-24 10:22:08 +0200 |
commit | c0973425861ac911a887d0865905571673ce41de (patch) | |
tree | 6cb204c673d882df3e8645b6effcb721d842115d /bin/repo-copy | |
parent | 2822716112435d983906bd1dbc28ad8ca2e02728 (diff) | |
download | builder-c0973425861ac911a887d0865905571673ce41de.tar.xz |
unify mktemp definitions to use --tmpdir if appropriate
Diffstat (limited to 'bin/repo-copy')
-rwxr-xr-x | bin/repo-copy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repo-copy b/bin/repo-copy index 803cae3..ee3ac2e 100755 --- a/bin/repo-copy +++ b/bin/repo-copy @@ -28,7 +28,7 @@ to_repo="$2" shift shift -tmp_dir=$(mktemp -d "${TMPDIR:-/tmp}/repo-tools.XXXXXXXXXX") +tmp_dir=$(mktemp -d 'repo-tools.XXXXXXXXXX' --tmpdir) trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT # extract the databases |