Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-31 12:12:19 +0100
committerErich Eckner <git@eckner.net>2018-01-31 12:12:19 +0100
commit2a359e3274d45123bc52f7efa58f3459df35f05c (patch)
tree931908d514341b872078e3f8d074389f77bb2a0f /bin
parentb72d5fcdc6ea158edef7b3127d1edd00882ae992 (diff)
bin/mysql-functions: bugfix
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mysql-functions3
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/,' | \