Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status10
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 4c44d33..670985c 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -473,17 +473,15 @@ if ${web}; then
/^[^:]+:[0-9]+:\s*#\s*TODO:/{print ++i}
' | \
sed -n '
- s/^\([^:]\+:[0-9]\+:\)\s*#\s*TODO:\s*/\1/
+ s/^\([^:]\+\):\([0-9]\+\):\s*#\s*TODO:\s*/\1\n\2\n/
T
N
- s/^\([^:]\+:[0-9]\+:\)\(.*\)\n\([0-9]\+\)$/\1\3:\2/
+ s/\n\(.*\)\n\([0-9]\+\)$/\n\2\n\1/
:a
N
- s/\([^:]\+:\)\([0-9]\+:[^\n]*\S\)\s*\n\1[0-9]\+:\s*#/\1\2\n/
+ s/\n[^:\n]\+:[0-9]\+:[ \t]*#[ \t]*\(\S[^\n]*\)$/\n\1/
ta
- s/\n\n\+/\n/g
- s/\n[^\n]*$/\n/
- s/^\([^:\n]\+\):\([0-9]\+\):\([0-9]\+\):/\1\n\2\n\3\n/
+ s/\n[^:\n]\+:[0-9]\+:[^\n]*$/\n/
p
' | \
sed '