From cc334de8754a35904e4c58348302effe23c4e9e0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 26 Jun 2017 23:49:21 +0200 Subject: bin/common-functions: ignore testing and staging, too (not only *-testing and *-staging) --- bin/common-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/common-functions') 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 )" -- cgit v1.2.3-54-g00ecf