Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
committerErich Eckner <git@eckner.net>2018-01-18 15:21:01 +0100
commit633a9409ae245b06ad5ae6a9b68853879cad03dc (patch)
treec82de15d771c0441e0bca97c715449125590d6f5 /bin/bootstrap-mysql
parent5fb9f8ad7843e087c974cc1af291b4f494824462 (diff)
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 3fa2da3..8545ab8 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -4,7 +4,7 @@
. "${0%/*}/../conf/default.conf"
. "${0%/*}/mysql-functions"
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.bootstrap-mysql.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
for dir in $(ls_master_mirror 'i686'); do