summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 12:23:31 +0200
committerErich Eckner <git@eckner.net>2020-06-04 12:23:31 +0200
commitf29e359a24700ebd2a8a84f10aea25ce3398fc11 (patch)
tree64a6117fdde772cf7a043c9f0dda1b94dad0091e /bumpPkgrel
parent38f178e1c88db3ab82bfd315bf41db3b2855c2ba (diff)
downloadarchlinuxewe-f29e359a24700ebd2a8a84f10aea25ce3398fc11.tar.xz
bumpPkgrel: skip empty lines
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel1
1 files changed, 1 insertions, 0 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index e967acb54..505745bd0 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -65,6 +65,7 @@ if [ $# -eq 1 ]; then
printf '%s\n' ${line%%)*}
} \
| sed '
+ /^$/d
s/^\(["'"'"']\)\(\S\+\)\1$/\2/
' \
| pin_dependency "${space} "