Use Bash arrays instead of POSIX splitting when possible

This commit is contained in:
Rangi authored and Eldred Habert committed 2026-07-06 04:43:08 +02:00
1 parent 3eb8c7e8f2
commit 09da4e001a
3 files changed
+21 -21

No files matched your search

+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'"