diff options
author | JP Ungaretti <git@jungaretti.com> | 2023-03-01 05:02:14 +0300 |
---|---|---|
committer | JP Ungaretti <git@jungaretti.com> | 2023-03-01 05:02:14 +0300 |
commit | 1a655bfa0d7ebf26d94a82bbc4a2fe6c5bb40501 (patch) | |
tree | f457776bfefea45de5a6dc193c7c26acff495a1d /src | |
parent | f7fa5fc302de0309be31d35e05d0de1215461088 (diff) |
Rename to runtime_args
Diffstat (limited to 'src')
-rw-r--r-- | src/dotnet/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotnet/install.sh b/src/dotnet/install.sh index 79b6691..68ce41c 100644 --- a/src/dotnet/install.sh +++ b/src/dotnet/install.sh @@ -37,7 +37,7 @@ check_packages() { install_version() { local version="$1" local channel="LTS" - local runtimeArg="" + local runtime_arg="" # If version is just a major value (form 'N'), assume it is a channel if [[ "$version" =~ ^[0-9]+$ ]]; then @@ -52,14 +52,14 @@ install_version() { fi if [ "$DOTNET_RUNTIME_ONLY" = 'true' ]; then - runtimeArg = '--runtime dotnet' + runtime_arg = '--runtime dotnet' fi "$DOTNET_INSTALL_SCRIPT" \ --install-dir "$DOTNET_INSTALL_DIR" \ --version "$version" \ --channel "$channel" \ - $runtimeArg + $runtime_arg } if [ "$(id -u)" -ne 0 ]; then |