Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mysql-functions')
-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/,' | \