From cae6c070173984db7478a1626f1c5b2351fc1362 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Jun 2020 12:24:01 +0200 Subject: bumpPkgrel: modify all _pinned_dependencies* --- bumpPkgrel | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bumpPkgrel') diff --git a/bumpPkgrel b/bumpPkgrel index 505745bd0..4f5ca355e 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 -- cgit v1.2.3-70-g09d2