From b883aabc6a9a7735fadc613fcac8e7e2146850cf Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Fri, 17 Apr 2015 14:58:28 -0500 Subject: [PATCH] On status output of running builds only count directories for l-b-cgi frontend. --- frontend/cgi/live-build-status-cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cgi/live-build-status-cgi b/frontend/cgi/live-build-status-cgi index 8af58572a..560eb4f40 100755 --- a/frontend/cgi/live-build-status-cgi +++ b/frontend/cgi/live-build-status-cgi @@ -71,7 +71,7 @@ else _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l) # Getting number of builds processing. - _PNUM=$(ls "${_TEMPDIR}"/*/ | wc -l) + _PNUM=$(ls -d "${_TEMPDIR}"/*/ | wc -l) # Find the build if exists and populate status html else respond no build. #echo "${QUERY_STRING}"