run-tests: pass script args verbatim to command without word splitting

Needed for the upcoming 'container' command
This commit is contained in:
Erik Arvstedt 2020-09-27 12:43:27 +02:00
parent e7c397a485
commit e99b7edb8e
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -157,4 +157,6 @@ if [[ $1 && $1 != build ]]; then
: ${scenario:=default}
fi
eval "${@:-build}"
command="${1:-build}"
shift || true
$command "$@"