Skip to content

Commit

Permalink
Add runner_run function
Browse files Browse the repository at this point in the history
This function outputs the command which was passed to it for execution.
  • Loading branch information
mbrodala committed May 19, 2016
1 parent fe57f1f commit 134d82f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ runner_parallel() {
[[ ${exits} -lt ${#} ]] && return 41 || return 42
}

## Output command before execution
runner_run() {
runner_log_notice "${@}"
${@}
}

## Starts the initial task.
runner_bootstrap() {
## Clear a trap we set up earlier
Expand Down

0 comments on commit 134d82f

Please sign in to comment.