Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-04 14:51:10 +0200
committerErich Eckner <git@eckner.net>2018-05-04 14:51:10 +0200
commit59bd891c112878d027efb1c7de2ed25ea1a767a4 (patch)
tree3426665155fdfc363dbc3af4861c85620541cd38 /lib
parentddf6aba1f08ec6fef5e69fc96694ac1fd04c9435 (diff)
lib/mysql-functions: tmp_dir -> temp_dir (typo!)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions5
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=$(