1
0
Fork 0
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:
Toshio Kuratomi 2016-02-02 12:38:21 -08:00
parent 147dba5d97
commit 42e312d3bd

View file

@ -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 = ')'