summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbumpVersion4
1 files changed, 2 insertions, 2 deletions
diff --git a/bumpVersion b/bumpVersion
index d59d3f43..ea9db267 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