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 { ...@@ -34,8 +34,8 @@ task concatenateTextFiles {
String combinedFilePath String combinedFilePath
Boolean? unzip=false Boolean? unzip=false
command { command {
mkdir -p ${combinedFilePath} set -e -o pipefail
rm -d ${combinedFilePath} mkdir $(dirname ${combinedFilePath})
${true='zcat' false= 'cat' unzip} ${sep=' ' fileList} \ ${true='zcat' false= 'cat' unzip} ${sep=' ' fileList} \
> ${combinedFilePath} > ${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