summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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