Mercurial > repos > kkonganti > cfsan_centriflaken
diff 0.4.0/modules/cat/tables/main.nf @ 104:17890124001d
"planemo upload"
author | kkonganti |
---|---|
date | Sun, 28 Aug 2022 00:37:10 -0400 |
parents | ce6d9548fe89 |
children |
line wrap: on
line diff
--- a/0.4.0/modules/cat/tables/main.nf Thu Aug 04 10:58:46 2022 -0400 +++ b/0.4.0/modules/cat/tables/main.nf Sun Aug 28 00:37:10 2022 -0400 @@ -47,16 +47,8 @@ python: \$( python --version | sed 's/Python //g' ) END_VERSIONS - headver="" - tailver="" - - if [ "${workflow.containerEngine}" != "null" ]; then - headver=\$( head --help 2>&1 | sed -e '1!d; s/ (.*\$//' ) - tailver="\$headver" - else - headver=\$( head --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' ) - tailver=\$( tail --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' ) - fi + headver=\$( head --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' ) + tailver=\$( tail --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' ) cat <<-END_VERSIONS >> versions.yml head: \$headver