Skip to content

Commit

Permalink
Remove line endings from container box id (nextflow-io#4334)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman authored and abhi18av committed Oct 28, 2023
1 parent 667f399 commit 5df3399
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class BashWrapperBuilder {
binding.helpers_script = getHelpersScript()

if( runWithContainer ) {
binding.container_boxid = 'export NXF_BOXID="nxf-$(dd bs=18 count=1 if=/dev/urandom 2>/dev/null | base64 | tr +/ 0A)"'
binding.container_boxid = 'export NXF_BOXID="nxf-$(dd bs=18 count=1 if=/dev/urandom 2>/dev/null | base64 | tr +/ 0A | tr -d \'\\r\\n\')"'
binding.container_helpers = containerBuilder.getScriptHelpers()
binding.kill_cmd = containerBuilder.getKillCommand()
}
Expand Down

0 comments on commit 5df3399

Please sign in to comment.