diff options
author | Erich Eckner <git@eckner.net> | 2018-01-31 12:12:19 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-31 12:12:19 +0100 |
commit | 2a359e3274d45123bc52f7efa58f3459df35f05c (patch) | |
tree | 931908d514341b872078e3f8d074389f77bb2a0f | |
parent | b72d5fcdc6ea158edef7b3127d1edd00882ae992 (diff) | |
download | builder-2a359e3274d45123bc52f7efa58f3459df35f05c.tar.xz |
bin/mysql-functions: bugfix
-rwxr-xr-x | bin/mysql-functions | 3 |
1 files changed, 2 insertions, 1 deletions
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/,' | \ |