diff options
author | Erich Eckner <git@eckner.net> | 2018-05-04 14:51:10 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-04 14:51:10 +0200 |
commit | 59bd891c112878d027efb1c7de2ed25ea1a767a4 (patch) | |
tree | 3426665155fdfc363dbc3af4861c85620541cd38 /lib | |
parent | ddf6aba1f08ec6fef5e69fc96694ac1fd04c9435 (diff) | |
download | builder-59bd891c112878d027efb1c7de2ed25ea1a767a4.tar.xz |
lib/mysql-functions: tmp_dir -> temp_dir (typo!)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index 2821a59..9f5287c 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -312,7 +312,7 @@ mysql_generate_package_metadata() { "${arch}" done | \ mysql_run_query > \ - "${tmp_dir}/build-assignments.id" + "${temp_dir}/build-assignments.id" # TODO: correctly link between binary_packages and build_assignments using any_arch @@ -320,7 +320,7 @@ mysql_generate_package_metadata() { # select any specific arch (which will be building the 'any' part of a split package) any_arch=$( cut -f1 < \ - "${tmp_dir}/build-assignments.id" | \ + "${temp_dir}/build-assignments.id" | \ sort | \ head -n1 ) @@ -357,6 +357,7 @@ mysql_generate_package_metadata() { done done + # now each "ARCHINFO $pkgname $arch" file represents one binary package find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \ while read -r _ pkgname arch; do pkgver=$( |