aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-21 22:04:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-22 10:45:24 +0100
commitf0896522e657b92fc05c910092693183492401d0 (patch)
tree91a88ac23f1efe6cf99680e63bcb8480b7cb7bee
parentkde-plasma/libksysguard: Update dependencies (diff)
downloadkde-f0896522e657b92fc05c910092693183492401d0.tar.gz
kde-f0896522e657b92fc05c910092693183492401d0.tar.bz2
kde-f0896522e657b92fc05c910092693183492401d0.zip
Documentation: lib.sh: Support slot defs in bump_set_from_live()
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 59bdcef983..e3efe52eba 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/~/</;s/[0-9]+(\.[0-9]+)*$/${destination}.50/" sets/${target}-${destination}
+ sed -i -E "s/~/</;s/[0-9]+(\.[0-9]+)*(\:.*)*$/${destination}.50\2/" sets/${target}-${destination}
sed -i -e "/^@/s/live$/${destination}/" sets/${target}-${destination}
for entry in $(grep ^@ sets/${target}-live) ; do