From 8623f8bfd87b42aba784bc6faa3e79779f0b48b8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 23 Nov 2014 22:18:37 +0100 Subject: [PATCH] autodist-cgi: small changes after wordpress integration --- autodist-cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autodist-cgi b/autodist-cgi index 04048c4..480922d 100755 --- a/autodist-cgi +++ b/autodist-cgi @@ -164,7 +164,7 @@ _EOF if [ "${SHOWLOG/\/ok\/}" != "${SHOWLOG}" -o "${SHOWLOG/\failed\/}" != "${SHOWLOG}" ]; then SHOWLOGPKG=${SHOWLOG/*\/} [ "${SHOWLOGPKG}" ] || continue - echo "" + echo "
Last ${SHOWLOGPKG} logs:
" for t in prepare update build install send; do echo -n "" || echo "" @@ -192,7 +192,7 @@ _EOF fi [ "${AUTOPORT_UPDATE[$i]}" ] && break elif [ ! "$SHOWLOG" ]; then - RELOADTIME=60000 + RELOADTIME=600000 [[ "$NUM" && "$NUM" != "$i" ]] && continue [[ "$HOST" = "$AS_HOST" ]] || continue if [ "${AUTOPORT_UPDATE[$i]}" ]; then @@ -218,7 +218,7 @@ _EOF
_EOF - echo -n "
"
+      echo -n "
"
       unset BUILDNOWIDX BUILDLOG BUILDNOW BUILDNOWSTATUS SCHEDULED STARTTIME AUTODIST_PID ENDTIME
       if [ "${AUTOPORT_UPDATE[$i]}" ]; then
          BUILDNOWIDX=0
Last ${SHOWLOGPKG} logs:
$t:" [ -e ${BUILDLOGDIR}${t}/ok/${SHOWLOGPKG} ] && echo -n "OK