Skip to content

Commit 193584c

Browse files
committed
tatt: fix template for extra file
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 63bd3b6 commit 193584c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pkgdev/tatt/template.sh.jinja

+1-3
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,11 @@ tatt_pkg_error() {
7474
cp "${BUILDLOG}" "${LOGNAME}"
7575
echo " log has been saved as ${LOGNAME}" >> "{{ report_file }}"
7676
TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*'))
77-
{% raw %}
78-
if [[ ${#TESTLOGS[@]} -gt 0 ]]; then
77+
if [[ {{ "${#TESTLOGS[@]}" }} -gt 0 ]]; then
7978
tar cf ${LOGNAME}.tar ${TESTLOGS[@]}
8079
echo " test-suite logs have been saved as ${LOGNAME}.tar" >> "{{ report_file }}"
8180
fi
8281
fi
83-
{% endraw %}
8482
}
8583

8684
tatt_test_pkg() {

0 commit comments

Comments
 (0)