summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 11:24:47 +0200
committerErich Eckner <git@eckner.net>2020-06-04 11:24:47 +0200
commit3c0c1a5e1e7164f8611838c6c2c66225b5ac7e48 (patch)
treeab49b78a2d11682b24ba043157d4e24551b628c3 /bumpPkgrel
parentedc536f2d8ae129d2a7824658fcd62002e7753d9 (diff)
downloadarchlinuxewe-3c0c1a5e1e7164f8611838c6c2c66225b5ac7e48.tar.xz
bumpPkgrel: correctly handle (some) quoting of _pinned_dependencies
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel3
1 files changed, 3 insertions, 0 deletions
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