diff options
author | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-18 15:21:01 +0100 |
commit | 633a9409ae245b06ad5ae6a9b68853879cad03dc (patch) | |
tree | c82de15d771c0441e0bca97c715449125590d6f5 /bin/mysql-functions | |
parent | 5fb9f8ad7843e087c974cc1af291b4f494824462 (diff) | |
download | builder-633a9409ae245b06ad5ae6a9b68853879cad03dc.tar.xz |
put name of creating script into name of temporary directories
Diffstat (limited to 'bin/mysql-functions')
-rwxr-xr-x | bin/mysql-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions index 1d1169b..14966d2 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -202,7 +202,7 @@ mysql_generate_package_metadata() { git_revision="$2" mod_git_revision="$3" repository="$4" - temp_dir=$(mktemp -d) + temp_dir=$(mktemp -d 'tmp.mysql-functions.mysql_generate_package_metadata.XXXXXXXXXX' --tmpdir) trap 'rm -rf --one-file-system "${temp_dir}"' EXIT if [ $# -eq 1 ]; then @@ -578,7 +578,7 @@ mysql_generate_package_metadata() { mysql_sanity_check() { ( # new shell is intentional - temp_dir=$(mktemp -d) + temp_dir=$(mktemp -d 'tmp.mysql-functions.mysql_sanity_check.XXXXXXXXXX' --tmpdir) trap 'rm -rf --one-file-system "${temp_dir}"' EXIT for dir in $(ls_master_mirror 'i686'); do |