diff options
Diffstat (limited to 'bumpVersion')
-rwxr-xr-x | bumpVersion | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bumpVersion b/bumpVersion index 3def25eb3..5b50d9ac0 100755 --- a/bumpVersion +++ b/bumpVersion @@ -37,7 +37,17 @@ sed ' P; D ' -i PKGBUILD -summen="$(makepkg -g)" + +summen="$( \ + makepkg -g | \ + sed ':begin; + $!N; + s@^sha512sums=\([^)]*\)\n\(.*\)$@sha512sums=\1\\n\2@; + tbegin; + P; + D + ' \ +)" sed 's|sha512sums=.*$|'"${summen}"'|' -i PKGBUILD rm -rf pkg src |