Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-28 13:26:27 +0200
committerErich Eckner <git@eckner.net>2017-06-28 13:26:27 +0200
commit59ffe24491595d257327aba395d0a49b468f707a (patch)
tree9b4ca9e97294db80bebbd81aeb27b97f516239f9
parent1344e02017561a7266273b586c185c72e0f0406c (diff)
bin/return-assignment: use non-tmpfs directory to buffer uploaded package(s)
-rwxr-xr-xbin/return-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index b4d4e3a..3175c67 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -121,7 +121,7 @@ clean_up_tmp_dir() {
clean_up_lock_file
}
-tmp_dir="$(mktemp -d)"
+tmp_dir="$(mktemp -d "${work_dir}/tmp.XXXXXX")"
cd "${tmp_dir}"
trap clean_up_tmp_dir EXIT