From 633a9409ae245b06ad5ae6a9b68853879cad03dc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 18 Jan 2018 15:21:01 +0100 Subject: put name of creating script into name of temporary directories --- bin/mysql-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/mysql-functions') 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 -- cgit v1.2.3-70-g09d2