From 3c0c1a5e1e7164f8611838c6c2c66225b5ac7e48 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Jun 2020 11:24:47 +0200 Subject: bumpPkgrel: correctly handle (some) quoting of _pinned_dependencies --- bumpPkgrel | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bumpPkgrel') diff --git a/bumpPkgrel b/bumpPkgrel index ddda45374..eb474296b 100755 --- a/bumpPkgrel +++ b/bumpPkgrel @@ -63,6 +63,9 @@ if [ $# -eq 1 ]; then done printf '%s\n' ${line%%)*} } \ + | sed ' + s/^\(["'"'"']\)\(\S\+\)\1$/\2/ + ' \ | pin_dependency "${space} " printf '%s)%s\n' "${space}" "${line#*)}" continue -- cgit v1.2.3-70-g09d2