summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-18 18:47:52 +0200
committerErich Eckner <git@eckner.net>2021-06-18 18:47:52 +0200
commit1dadc4eb0b46e14cb748d722a02532b60eb983dc (patch)
tree03f068eb723cd2b49ea678185ad59736ba1a0e70
parent3a0c51445fa7f822f78b4c208ad452f0bf1d9de3 (diff)
downloadarchlinuxewe-1dadc4eb0b46e14cb748d722a02532b60eb983dc.tar.xz
commit-package: ignore arrays
-rwxr-xr-xcommit-package2
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}}" \