Replace expression with modern sub-shell command.

This commit is contained in:
Marco Vermeulen
2013-05-16 08:12:14 +01:00
parent 36b479922c
commit d42fa915c8

View File

@@ -57,7 +57,7 @@ function gvm {
#
# NOTE Internal commands use underscores rather than hyphens,
# hence the name conversion as the first step here.
CONVERTED_CMD_NAME=`echo "$1" | tr '-' '_'`
CONVERTED_CMD_NAME=$(echo "$1" | tr '-' '_')
# no command provided
if [[ -z "$1" ]]; then