Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repo-copy2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repo-copy b/bin/repo-copy
index 8566d7c..c3450fd 100755
--- a/bin/repo-copy
+++ b/bin/repo-copy
@@ -26,7 +26,7 @@ to_repo="$2"
shift
shift
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d "${TMPDIR:-/tmp}/repo-tools.XXXXXXXXXX")
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
# extract the databases