summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-24 11:15:59 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-24 11:15:59 +0200
commit68c26b5250fc21bcb5d14116a53eb7fe0c59831f (patch)
tree90c7d9bf7921130b63b99671f1d6c0d5e221526d
parentb886530f93a8ec324359468cc8561edf5201d038 (diff)
downloadarchlinuxewe-68c26b5250fc21bcb5d14116a53eb7fe0c59831f.tar.xz
commit-package: fix name search for freeminer-git
-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}}" \