Exit cleanly when displaying categories

This commit is contained in:
Michael Boelen 2016-07-13 11:12:31 +02:00
parent df9443d04d
commit f9011c43e6
1 changed files with 2 additions and 2 deletions

View File

@ -2482,11 +2482,11 @@
if [ ! "${INCLUDEDIR}" = "" ]; then if [ ! "${INCLUDEDIR}" = "" ]; then
InsertSection "Available test categories" InsertSection "Available test categories"
for I in `ls ${INCLUDEDIR}/tests_* | xargs -n 1 basename | sed 's/tests_//' | grep -v "custom.template"`; do for I in `ls ${INCLUDEDIR}/tests_* | xargs -n 1 basename | sed 's/tests_//' | grep -v "custom.template"`; do
echo " - ${I}" echo "${I}"
done done
fi fi
echo "" echo ""
exit 0 ExitClean
} }