aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkgdev/tatt/template.sh.jinja4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkgdev/tatt/template.sh.jinja b/src/pkgdev/tatt/template.sh.jinja
index 5c9d6fb..1606527 100644
--- a/src/pkgdev/tatt/template.sh.jinja
+++ b/src/pkgdev/tatt/template.sh.jinja
@@ -74,13 +74,11 @@ tatt_pkg_error() {
cp "${BUILDLOG}" "${LOGNAME}"
echo " log has been saved as ${LOGNAME}" >> "{{ report_file }}"
TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*'))
-{% raw %}
- if [[ ${#TESTLOGS[@]} -gt 0 ]]; then
+ if [[ {{ "${#TESTLOGS[@]}" }} -gt 0 ]]; then
tar cf ${LOGNAME}.tar ${TESTLOGS[@]}
echo " test-suite logs have been saved as ${LOGNAME}.tar" >> "{{ report_file }}"
fi
fi
-{% endraw %}
}
tatt_test_pkg() {