Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/clean-cache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean-cache')
-rwxr-xr-xbin/clean-cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/clean-cache b/bin/clean-cache
index 42dae59..6e674f9 100755
--- a/bin/clean-cache
+++ b/bin/clean-cache
@@ -22,7 +22,7 @@ mirror=$(
sed 's|^\s*||'
)
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.clean-cache.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
for repo in ${repos}; do