summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-11 16:35:23 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-11 22:24:18 +0100
commit98c6e0b94ab1696259da040e571a79fd272d5b4f (patch)
treedefab4b3da864bb205a098e8b4ac815f78b9cc66
parent8ae041f7cdd89a0becf6376798612d47053a5f3f (diff)
downloadkde-98c6e0b94ab1696259da040e571a79fd272d5b4f.tar.gz
kde-98c6e0b94ab1696259da040e571a79fd272d5b4f.tar.bz2
kde-98c6e0b94ab1696259da040e571a79fd272d5b4f.zip
Documentation: lib.sh: bump_set_from_live: sed *any* version numbers
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rwxr-xr-xDocumentation/maintainers/new/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/maintainers/new/lib.sh b/Documentation/maintainers/new/lib.sh
index 26b4b36fe86..d6317e1fa33 100755
--- a/Documentation/maintainers/new/lib.sh
+++ b/Documentation/maintainers/new/lib.sh
@@ -60,7 +60,7 @@ bump_set_from_live() {
local destination="${2}"
cp sets/${target}-live sets/${target}-${destination}
- sed -i -e "s/~/</" -e "s/9999/${destination}.50/" sets/${target}-${destination}
+ sed -i -E "s/~/</;s/[0-9]+(\.[0-9]+)*$/${destination}.50/" sets/${target}-${destination}
sed -i -e "/^@/s/live$/${destination}/" sets/${target}-${destination}
for entry in $(grep ^@ sets/${target}-live) ; do