Skip to content

Commit 69ccb12

Browse files
committed
chore: Fix options parsing in make script
1 parent 83c1e27 commit 69ccb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/make

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ main() {
127127
# All commands except `run` and `multirun` can be chained on a single line.
128128
# Some of them accept options in two formats: `-f`, `--flag` and `param=value`.
129129
# Some of them don't, and will print warnings/errors if options were given.
130-
opts=($(options "$@")) || shift $?
130+
opts=("$(options "$@")") && opts=() || shift $?
131131

132132
case "${cmd}" in
133133
# The following commands require special handling.

0 commit comments

Comments
 (0)