Skip to content
Snippets Groups Projects
Commit 264c68bc authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

proper dirname creation

parent 4b8cd7a8
No related branches found
No related tags found
2 merge requests!9Changes for virus assembly pipeline,!10Extra tasks required for assembly.
......@@ -34,8 +34,8 @@ task concatenateTextFiles {
String combinedFilePath
Boolean? unzip=false
command {
mkdir -p ${combinedFilePath}
rm -d ${combinedFilePath}
set -e -o pipefail
mkdir $(dirname ${combinedFilePath})
${true='zcat' false= 'cat' unzip} ${sep=' ' fileList} \
> ${combinedFilePath}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment