Skip to content

Commit

Permalink
conditional tee of optional command
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Oct 20, 2023
1 parent df8109e commit c7c4112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_terra.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ task get_gcloud_env_info {
command {
set -ex

~{additional_command_to_run} | tee -a additional_command_stdout.log
~{additional_command_to_run} ~{if additional_command_to_run then "| tee -a additional_command_stdout.log" else ""}

env | tee -a env_info.log

Expand Down

0 comments on commit c7c4112

Please sign in to comment.