summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-11 16:36:21 +0100
committerErich Eckner <git@eckner.net>2017-11-11 16:36:21 +0100
commit7761468ff9981136237bdf269380312eec4abd6f (patch)
treec24976287c5ba2c6daf31237833813bfafb05ee0 /bin/build-master-status
parent2d7471aae8d77315d37c0445cd880cf597a6e0a2 (diff)
downloadbuilder-7761468ff9981136237bdf269380312eec4abd6f.tar.xz
bin/build-master-status: cleanup
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 6b5915e..aacf40e 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -442,18 +442,18 @@ if ${web}; then
'<body>'
find "${base_dir}/bin/" "${base_dir}/conf/" -type f \
-exec sed -n '
- /^\s*#\s*TODO:/{
- s/^\s*#\s*TODO:\s*//
- :a
- N
- s/\s*\n\s*#/\n/
- ta
- s/\n\n\+/\n/g
- s/\n[^\n]*$/\n/
- i {}
- =
- p
- }' {} \; | \
+ s/^\s*#\s*TODO:\s*//
+ T
+ :a
+ N
+ s/\s*\n\s*#/\n/
+ ta
+ s/\n\n\+/\n/g
+ s/\n[^\n]*$/\n/
+ i {}
+ =
+ p
+ ' {} \; | \
sed '
:a
N