summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}}" \