From 70759d4b9e38d8935d8dca40b2bf9e41651a9a07 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Mar 2018 10:30:33 +0100 Subject: bin/repo-copy: make location of tmp_dir configurable via $TMPDIR --- bin/repo-copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/repo-copy') 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 -- cgit v1.2.3-70-g09d2