summaryrefslogtreecommitdiff
path: root/Documentation/maintainers/new/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/maintainers/new/lib.sh')
-rwxr-xr-xDocumentation/maintainers/new/lib.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/maintainers/new/lib.sh b/Documentation/maintainers/new/lib.sh
index e3efe52eba0..88631e22faa 100755
--- a/Documentation/maintainers/new/lib.sh
+++ b/Documentation/maintainers/new/lib.sh
@@ -60,8 +60,9 @@ 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\2/" sets/${target}-${destination}
- sed -i -e "/^@/s/live$/${destination}/" sets/${target}-${destination}
+ sed -E "s/^~/</;/^#/! s/[0-9]+(\.[0-9]+)*(\:.*)*$/${destination}.50\2/" -i sets/${target}-${destination}
+ sed -e "/^@/s/live$/${destination}/" -i sets/${target}-${destination}
+
for entry in $(grep ^@ sets/${target}-live) ; do
entry=${entry/-live/}