From d369913e9f15e2c55a62f520bff48bea934f50b0 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Tue, 31 Dec 2019 00:13:54 +0100 Subject: [PATCH] step() function did not provide argument pass-through --- sequencer/sequencer.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sequencer/sequencer.sh b/sequencer/sequencer.sh index bd3cc20..5c3f96e 100755 --- a/sequencer/sequencer.sh +++ b/sequencer/sequencer.sh @@ -8,7 +8,7 @@ ## Version information VERSION_REV=9 -VERSION_MAJOR=0 +VERSION_MAJOR=1 VERSION_MINOR=0 ## Start of generic script part @@ -447,13 +447,14 @@ checkStep() { # execute given step step() { local stepNo=0 + local stepArgs=("$@") checkStep "$1" stepNo=$? if [ "$stepNo" == "0" ] ; then return 1 else - step_$stepNo + step_$stepNo "${stepArgs[@]}" fi }