summaryrefslogtreecommitdiff
path: root/bumpPython
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-12 09:18:02 +0100
committerErich Eckner <git@eckner.net>2019-02-12 09:18:02 +0100
commitd6e299f9dc42aded07ed1871f4cbcddde5036b3e (patch)
tree2be583671fe9393a3bac135c882c7214eace7f01 /bumpPython
parentebb987535050f398ea8210d8cc21dd40bf329d3c (diff)
downloadarchlinuxewe-d6e299f9dc42aded07ed1871f4cbcddde5036b3e.tar.xz
bumpPython, bumpPerl: use bumpPkgrel
Diffstat (limited to 'bumpPython')
-rwxr-xr-xbumpPython5
1 files changed, 1 insertions, 4 deletions
diff --git a/bumpPython b/bumpPython
index 60c4cde69..ddb40d7d6 100755
--- a/bumpPython
+++ b/bumpPython
@@ -48,11 +48,8 @@ pyverupper="${pymajor}.$((${pyver#*.}+1))"
for pkgbuild in "${pkgbuilds[@]}"; do
- eval "$(
- grep '^pkgrel=' "${pkgbuild}"
- )"
+ ./bumpPkgrel -n "${pkgbuild%/PKGBUILD}"
sed -i '
- s@^\(pkgrel=\)\('"'"'\?\)[0-9]\+\2$@\1'"'$((pkgrel+1))'"'@
s@'"'python>=${pymajor}\.[0-9]\+'@'python>=${pyver}'"'@
s@'"'python<${pymajor}\.[0-9]\+'@'python<${pyverupper}'"'@
' "${pkgbuild}"