From 1dadc4eb0b46e14cb748d722a02532b60eb983dc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 18 Jun 2021 18:47:52 +0200 Subject: commit-package: ignore arrays --- commit-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit-package') diff --git a/commit-package b/commit-package index 648af22f4..b8cbf0acb 100755 --- a/commit-package +++ b/commit-package @@ -24,7 +24,7 @@ if [ $# -eq 1 ]; then eval "$( git archive HEAD -- PKGBUILD \ | tar -Ox \ - | grep '^\(pkgname\|pkgbase\|epoch\|pkgver\|pkgrel\)=' + | grep '^\(pkgname\|pkgbase\|epoch\|pkgver\|pkgrel\)=[^(]\+$' )" printf '%s: %s%s-%s -> ' \ "${pkgbase}${pkgbase:-${pkgname}}" \ -- cgit v1.2.3-70-g09d2