From 35b031d58403f1c9671b5f4ef6a32b659daba4e9 Mon Sep 17 00:00:00 2001 From: nschcolnicov Date: Thu, 12 Dec 2024 16:50:38 +0000 Subject: [PATCH] Update version generation --- modules/nf-core/custom/tabulartogseacls/main.nf | 4 ++-- modules/nf-core/custom/tabulartogseagct/main.nf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/nf-core/custom/tabulartogseacls/main.nf b/modules/nf-core/custom/tabulartogseacls/main.nf index 57cc682809b..686421eb744 100644 --- a/modules/nf-core/custom/tabulartogseacls/main.nf +++ b/modules/nf-core/custom/tabulartogseacls/main.nf @@ -36,7 +36,7 @@ process CUSTOM_TABULARTOGSEACLS { cat <<-END_VERSIONS > versions.yml "${task.process}": - awk: " \$(awk --version | head -n 1 | awk '{print \$2}')" + awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')" END_VERSIONS """ @@ -45,7 +45,7 @@ process CUSTOM_TABULARTOGSEACLS { touch mock.cls cat <<-END_VERSIONS > versions.yml "${task.process}": - awk: " \$(awk --version | head -n 1 | awk '{print \$2}')" + awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')" END_VERSIONS """ diff --git a/modules/nf-core/custom/tabulartogseagct/main.nf b/modules/nf-core/custom/tabulartogseagct/main.nf index 0528c68f133..56fc890f935 100644 --- a/modules/nf-core/custom/tabulartogseagct/main.nf +++ b/modules/nf-core/custom/tabulartogseagct/main.nf @@ -32,7 +32,7 @@ process CUSTOM_TABULARTOGSEAGCT { cat <<-END_VERSIONS > versions.yml "${task.process}": - awk: " \$(awk --version | head -n 1 | awk '{print \$2}')" + awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')" END_VERSIONS """ @@ -41,7 +41,7 @@ process CUSTOM_TABULARTOGSEAGCT { touch mock.gct cat <<-END_VERSIONS > versions.yml "${task.process}": - awk: " \$(awk --version | head -n 1 | awk '{print \$2}')" + awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')" END_VERSIONS """ }