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-02-02 10:32:04 +0100
committerErich Eckner <git@eckner.net>2018-02-02 10:32:04 +0100
commitd240ec6c6329004f97eff2627d72de77c51664c0 (patch)
treeb301fef1eb65556b54f9b61533bd082e9b1ce185 /bin
parentfb77df17de8de4535638b747956622b5640f78f8 (diff)
bin/mysql-functions: bugfix - I used the wrong variable
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index a17f7a2..d0861e7 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -39,7 +39,7 @@ mysql_add_package_source() {
fi
uses_upstream=0
for repo in ${repo_names}; do
- if eval 'git -C "${repo_paths__'"${values}"'}" archive "$2" -- "$1/repos/$4-*/PKGBUILD" 2>/dev/null' | \
+ if eval 'git -C "${repo_paths__'"${repo}"'}" archive "$2" -- "$1/repos/$4-*/PKGBUILD" 2>/dev/null' | \
tar -t 2>/dev/null | \
sed 's,-x86_64/,-any/,' | \
grep -qFx "$1/repos/$4-any/PKGBUILD"; then