Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 15519a9..32c2e0a 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -43,7 +43,7 @@ find_pkgbuild() {
ls "${package_path}/repos/${repository}-"*"/PKGBUILD" 2> /dev/null | \
tr ' ' '\n' | \
grep -v -- '-i686/PKGBUILD$' | \
- grep -v -- '-\(staging\|testing\)-[^/]\+/PKGBUILD$' | \
+ grep -v -- '[-/]\(staging\|testing\)-[^/]\+/PKGBUILD$' | \
sort | \
tail -n1
)"
@@ -387,7 +387,7 @@ make_source_info() {
tar -t 2> /dev/null | \
grep "^$(str_to_regex "${package}/repos/${repository}")"'-.*/PKGBUILD$' | \
grep -v -- '-i686/PKGBUILD$' | \
- grep -v -- '-\(staging\|testing\)-[^/]\+/PKGBUILD$' | \
+ grep -v -- '[-/]\(staging\|testing\)-[^/]\+/PKGBUILD$' | \
sort | \
tail -n1
)"