Skip to content
Snippets Groups Projects
Commit 1a58a440 authored by romanvalov's avatar romanvalov
Browse files

check opts quoting

parent e727c34a
Branches
No related tags found
No related merge requests found
Pipeline #9100 passed
variables:
OPTS: '1 2 "3 4" -- \ test'
OPTS: '1 2 \"3 4\" -- \\ test'
test:
script:
- sh -c 'set -- $OPTS; for opt in "$@"; do echo "$opt"; done'
- set $OPTS
- for opt in "$@"; do echo "$opt"; done
.files:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment