Use Bash arrays instead of POSIX splitting when possible

This commit is contained in:
Rangi
2026-07-06 04:43:08 +02:00
committed by Eldred Habert
parent 3eb8c7e8f2
commit 09da4e001a
3 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -28,12 +28,12 @@ while [[ $# -gt 0 ]]; do
;;
--jobs)
shift
make_args+=("-j" "$1")
runtests_args+=("--jobs" "$1")
make_args+=(-j "$1")
runtests_args+=(--jobs "$1")
;;
--os)
shift
runtests_args+=("--os" "$1")
runtests_args+=(--os "$1")
;;
*)
echo "$(basename "$0"): unknown option '$1'"