-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
SUP_ENV is not escaped:
sup -D -e HELLO="1 2 3" local env
fra@localhost | bash: line 0: export: `2': not a valid identifier
fra@localhost | bash: line 0: export: `3': not a valid identifier
fra@localhost | + echo SUP_ENV is '-e HELLO=1'
fra@localhost | SUP_ENV is -e HELLO=1
commands:
env:
desc: print env
run: echo SUP_ENV is "$SUP_ENV"
this one does not break but the quoting is lost
sup -D -e HELLO="'""1 2 3""'" local env
this one does not break and preserves quoting
sup -D -e HELLO='"'"'1 2 3'"'"' local env
Metadata
Metadata
Assignees
Labels
No labels