Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.

Fixes #14176
pull/14290/head
Toshio Kuratomi 9 years ago
parent d001c73699
commit 4604deca92

@ -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…
Cancel
Save