summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion4
1 files changed, 2 insertions, 2 deletions
diff --git a/bumpVersion b/bumpVersion
index d59d3f432..ea9db2677 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -96,8 +96,8 @@ fi
cd "${paket}"
-sed 's|pkgver=.*$|pkgver='"${remVer}"'|;
- s|pkgrel=.*$|pkgrel=1|;
+sed 's|^\(\s*\)pkgver=.*$|\1pkgver='"${remVer}"'|;
+ s|^\(\s*\)pkgrel=.*$|\1pkgrel=1|;
s@^\s*\(sha[[:digit:]]\+sums\|md5sums\)=@sha512sums=@;
/^\(sha[[:digit:]]\+\|md5\)sums_/d;
'"${sedExtra}" -i PKGBUILD