diff options
author | dseefeld <dseefeld@microsoft.com> | 2017-10-27 22:38:28 +0300 |
---|---|---|
committer | dseefeld <dseefeld@microsoft.com> | 2017-10-27 22:38:28 +0300 |
commit | 32a99cc58f67a4baa27b46a910a44d772ad3ff5d (patch) | |
tree | 5e67615afc1a5b287763541391d74091a8364d0f /init-tools.sh | |
parent | 5ff873c65181cb0e378b383156602da85b0f1094 (diff) |
Change functions to not us CamelCase.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init-tools.sh b/init-tools.sh index 58d600c26e..cd8e077842 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -44,7 +44,7 @@ display_error_message() } # Executes a command and retries if it fails. -executeWithRetry() { +execute_with_retry() { local count=0 local retries=${retries:-5} local waitFactor=${waitFactor:-6} @@ -120,7 +120,7 @@ if [ ! -e $__DOTNET_PATH ]; then echo "Installing dotnet cli..." __DOTNET_LOCATION="https://dotnetcli.azureedge.net/dotnet/Sdk/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.tar.gz" - installDotNetCLI() { + install_dotnet_cli() { echo "Installing '${__DOTNET_LOCATION}' to '$__DOTNET_PATH/dotnet.tar'" >> "$__init_tools_log" rm -rf -- "$__DOTNET_PATH/*" # curl has HTTPS CA trust-issues less often than wget, so lets try that first. @@ -132,7 +132,7 @@ if [ ! -e $__DOTNET_PATH ]; then cd $__DOTNET_PATH tar -xf $__DOTNET_PATH/dotnet.tar } - executeWithRetry installDotNetCLI >> "$__init_tools_log" 2>&1 + execute_with_retry install_dotnet_cli >> "$__init_tools_log" 2>&1 cd $__scriptpath fi |