diff options
author | Erich Eckner <git@eckner.net> | 2020-06-04 12:24:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-06-04 12:24:01 +0200 |
commit | cae6c070173984db7478a1626f1c5b2351fc1362 (patch) | |
tree | 00fd3e6f9a11323523a99268be17cb8a1c259a2c | |
parent | 72035edceb3db9e4bee438fd1ff0b39a59caebb3 (diff) | |
download | archlinuxewe.git.save-cae6c070173984db7478a1626f1c5b2351fc1362.tar.xz |
bumpPkgrel: modify all _pinned_dependencies*
-rwxr-xr-x | bumpPkgrel | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |