diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-07-01 20:59:54 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-07-01 20:59:54 +0300 |
commit | 193584cdead3980505775342f565169511de7f75 (patch) | |
tree | 60bec9b60113999a454c64bc64830f5c0ad29738 | |
parent | mask: support filing bugs with no dependent bugs (diff) | |
download | pkgdev-193584cdead3980505775342f565169511de7f75.tar.gz pkgdev-193584cdead3980505775342f565169511de7f75.tar.bz2 pkgdev-193584cdead3980505775342f565169511de7f75.zip |
tatt: fix template for extra file
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgdev/tatt/template.sh.jinja | 4 |
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() { |