summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 12:24:01 +0200
committerErich Eckner <git@eckner.net>2020-06-04 12:24:01 +0200
commitcae6c070173984db7478a1626f1c5b2351fc1362 (patch)
tree00fd3e6f9a11323523a99268be17cb8a1c259a2c
parent72035edceb3db9e4bee438fd1ff0b39a59caebb3 (diff)
downloadarchlinuxewe.git.save-cae6c070173984db7478a1626f1c5b2351fc1362.tar.xz
bumpPkgrel: modify all _pinned_dependencies*
-rwxr-xr-xbumpPkgrel8
1 files changed, 4 insertions, 4 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index 505745bd..4f5ca355 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -52,10 +52,10 @@ if [ $# -eq 1 ]; then
continue
fi
if printf '%s\n' "${line}" \
- | grep -q '^\s*_pinned_dependencies=('; then
- space="${line%%_pinned_dependencies=(}"
- printf '%s_pinned_dependencies=(\n' "${space}"
- line="${line#*_pinned_dependencies=(}"
+ | grep -q '^\s*_pinned_dependencies\([^=[:space:]]*\)=('; then
+ space="${line%%_pinned_dependencies*=(*}"
+ printf '%s=(\n' "${line%%=(*}"
+ line="${line#*_pinned_dependencies*=(}"
{
while ! printf '%s\n' "${line}" \
| grep -qF ')'; do