From 59bd891c112878d027efb1c7de2ed25ea1a767a4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 4 May 2018 14:51:10 +0200 Subject: lib/mysql-functions: tmp_dir -> temp_dir (typo!) --- lib/mysql-functions | 5 +++-- 1 file 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=$( -- cgit v1.2.3-70-g09d2