From 72aa80b29963e4bca7e273463f4f62aeab5cc657 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Jan 2018 14:19:33 +0100 Subject: bin/build-master-status-from-mysql: print mysql-sanity --- bin/build-master-status-from-mysql | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'bin/build-master-status-from-mysql') diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 9626b27..d78d963 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -26,5 +26,15 @@ ${mysql_command} ' } 1 i list of build slaves $ a - ' > \ - "${webserver_directory}/build-slaves.html" + ' | \ + sponge "${webserver_directory}/build-slaves.html" + +mysql_sanity_check | \ + sed ' + s,^-.*$,\0, + s,^+.*$,\0, + s/$/
/ + 1 i sanity of the buildmaster'"'"'s mysql database + $ a + ' | \ + sponge "${webserver_directory}/mysql-sanity.html" -- cgit v1.2.3-54-g00ecf