Skip to content

Commit c515a7e

Browse files
committed
Fix shell directives
1 parent de0a187 commit c515a7e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nextflow.config

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ env {
210210
}
211211

212212
// Set bash options
213-
process.shell = """\
214-
bash
215-
216-
set -e # Exit if a tool returns a non-zero status/exit code
217-
set -u # Treat unset variables and parameters as an error
218-
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
219-
set -C # No clobber - prevent output redirection from overwriting files.
220-
"""
213+
process.shell = [
214+
"bash",
215+
"-C", // No clobber - prevent output redirection from overwriting files.
216+
"-e", // Exit if a tool returns a non-zero status/exit code
217+
"-u", // Treat unset variables and parameters as an error
218+
"-o", // Returns the status of the last command to exit..
219+
"pipefail" // ..with a non-zero status or zero if all successfully execute
220+
]
221221

222222
// Disable process selector warnings by default. Use debug profile to enable warnings.
223223
nextflow.enable.configProcessNamesValidation = false

0 commit comments

Comments
 (0)