mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.
Fixes #14176
This commit is contained in:
parent
147dba5d97
commit
42e312d3bd
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ class ShellModule(object):
|
|||
_SHELL_REDIRECT_ALLNULL = '> /dev/null 2>&1'
|
||||
_SHELL_AND = '&&'
|
||||
_SHELL_OR = '||'
|
||||
_SHELL_SUB_LEFT = '"$('
|
||||
_SHELL_SUB_RIGHT = ')"'
|
||||
_SHELL_SUB_LEFT = '"`'
|
||||
_SHELL_SUB_RIGHT = '`"'
|
||||
_SHELL_GROUP_LEFT = '('
|
||||
_SHELL_GROUP_RIGHT = ')'
|
||||
|
||||
|
|
Loading…
Reference in a new issue