mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 09:43:04 -05:00
Replace expression with modern sub-shell command.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user