summaryrefslogtreecommitdiff
path: root/commit-package
diff options
context:
space:
mode:
Diffstat (limited to 'commit-package')
-rwxr-xr-xcommit-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-package b/commit-package
index 31aedccda..7bee5f28c 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}}" \