From 2a359e3274d45123bc52f7efa58f3459df35f05c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 31 Jan 2018 12:12:19 +0100 Subject: bin/mysql-functions: bugfix --- bin/mysql-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/mysql-functions b/bin/mysql-functions index ac39141..f3dcc5b 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -30,6 +30,7 @@ mysql_add_package_source() { local values local uses_upstream local uses_modification + local repo if git -C "${repo_paths__archlinux32}" archive "$3" -- "$4/$1" >/dev/null 2>&1; then uses_modification=1 @@ -37,7 +38,7 @@ mysql_add_package_source() { uses_modification=0 fi uses_upstream=0 - for values in ${repo_names}; do + for repo in ${repo_names}; do if eval 'git -C "${repo_paths__'"${values}"'}" archive "$2" -- "$1/repos/$4-*/PKGBUILD" 2>/dev/null' | \ tar -t 2>/dev/null | \ sed 's,-x86_64/,-any/,' | \ -- cgit v1.2.3-70-g09d2