Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-04 08:40:58 +0200
committerErich Eckner <git@eckner.net>2017-07-04 08:40:58 +0200
commit7cf95815d55c0550566714e8359ee486dec5f884 (patch)
tree36d07bbccc96ebf478067640dc376aa2703a60e4 /bin/common-functions
parentbb8c32133bd2d6a5ddf7efcab2ee0f0f2ac2c29a (diff)
bin/common-functions, bin/db-update: use tempdir outside of tmpfs
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 9c148a5..3146572 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -364,7 +364,7 @@ make_source_info() {
exit ${err}
}
- overlays_dir="$(mktemp -d)"
+ overlays_dir="$(mktemp -d "${work_dir}/tmp.XXXXXX")"
sudo mount -t tmpfs none "${overlays_dir}" || \
bail_out