summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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