summaryrefslogtreecommitdiff
path: root/bin/copy-to-build-support
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-15 16:28:49 +0200
committerErich Eckner <git@eckner.net>2018-04-15 16:28:49 +0200
commit38546fab75d75d7bbb04b74f8d8604ebe12a0258 (patch)
tree0148cf002e596e9c44f45564ef11db2d22abca94 /bin/copy-to-build-support
parentda9a7ce76831ae47032974534f75795494b1d028 (diff)
downloadbuilder-38546fab75d75d7bbb04b74f8d8604ebe12a0258.tar.xz
bin/copy-to-build-support bin/delete-packages bin/return-assignment: set TMPDIR out of tmpfs, so repo-* won't run out of space
Diffstat (limited to 'bin/copy-to-build-support')
-rwxr-xr-xbin/copy-to-build-support2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index 9cd90f3..5382235 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -64,6 +64,8 @@ flock ${wait_for_lock} 8
tmp_dir=$(mktemp -d "${work_dir}/tmp.copy-to-build-support.0.XXXXXXXXXX")
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
+export TMPDIR="${tmp_dir}"
+
to_copy='build_assignment epoch pkgver pkgrel sub_pkgrel has_issues is_tested pkgname architecture'
sed -n '
s/.\+/\0 \0/