From 134d82f5b273fa82847feb42df00438d63557910 Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Thu, 19 May 2016 09:50:37 +0200 Subject: [PATCH] Add runner_run function This function outputs the command which was passed to it for execution. --- src/runner.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/runner.sh b/src/runner.sh index ca2f1f8..092f8ea 100644 --- a/src/runner.sh +++ b/src/runner.sh @@ -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