From d6e299f9dc42aded07ed1871f4cbcddde5036b3e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 12 Feb 2019 09:18:02 +0100 Subject: bumpPython, bumpPerl: use bumpPkgrel --- bumpPerl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bumpPerl') 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 -- cgit v1.2.3-70-g09d2