diff options
author | Erich Eckner <git@eckner.net> | 2021-06-18 18:47:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-06-18 18:47:52 +0200 |
commit | 1dadc4eb0b46e14cb748d722a02532b60eb983dc (patch) | |
tree | 03f068eb723cd2b49ea678185ad59736ba1a0e70 | |
parent | 3a0c51445fa7f822f78b4c208ad452f0bf1d9de3 (diff) | |
download | archlinuxewe-1dadc4eb0b46e14cb748d722a02532b60eb983dc.tar.xz |
commit-package: ignore arrays
-rwxr-xr-x | commit-package | 2 |
1 files changed, 1 insertions, 1 deletions
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}}" \ |