summaryrefslogtreecommitdiff
path: root/bumpPerl
diff options
context:
space:
mode:
Diffstat (limited to 'bumpPerl')
-rwxr-xr-xbumpPerl5
1 files changed, 1 insertions, 4 deletions
diff --git a/bumpPerl b/bumpPerl
index f16cdff1b..7fe82a129 100755
--- a/bumpPerl
+++ b/bumpPerl
@@ -15,10 +15,7 @@ perlMinor="${perlMinor%%.*}"
for pkgbuild in perl-*/PKGBUILD demeter/PKGBUILD; do
- pkgrel="$(
- sed -n "/^pkgrel='\?[0-9]\+'\?\$/{s@^pkgrel='\?\([0-9]\+\)'\?\$@\1@;p}" "${pkgbuild}"
- )"
- sed -i "s@^\(pkgrel=\)'\?[0-9]\+'\?\$@\1'$[${pkgrel}+1]'@" "${pkgbuild}"
+ ./bumpPkgrel -n "${pkgbuild%/PKGBUILD}"
sed -i '
/^depends=(/{
:a