run-tests: pass script args verbatim to command without word splitting
Needed for the upcoming 'container' command
This commit is contained in:
parent
e7c397a485
commit
e99b7edb8e
1 changed files with 3 additions and 1 deletions
|
|
@ -157,4 +157,6 @@ if [[ $1 && $1 != build ]]; then
|
||||||
: ${scenario:=default}
|
: ${scenario:=default}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eval "${@:-build}"
|
command="${1:-build}"
|
||||||
|
shift || true
|
||||||
|
$command "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue