From f22774762363f98f2e022d127a57702685387854 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 26 Oct 2020 14:38:37 -0700 Subject: [PATCH] mark more functions as private --- bin/kaleidoscope-builder | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 706f361f..bf0eddbb 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -19,7 +19,7 @@ set -e ###### Build and output configuration ###### -identify_os() { +_identify_os() { ## Platform-specific overrides # Shamelessly stolen from git's Makefile uname_S=$(uname -s 2>/dev/null || echo not) @@ -38,7 +38,7 @@ adjust_for_virtual_build() { -read_conf_files() { +_read_conf_files() { for conf_file in \ "${HOME}/.kaleidoscope-builder.conf" \ "$(pwd)/.kaleidoscope-builder.conf" \ @@ -73,7 +73,7 @@ install_arduino_cli() { curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh } -configure_arduino_cli() { +_configure_arduino_cli() { if [ -z "${ARDUINO_CLI}" ]; then install_arduino_cli fi @@ -471,9 +471,9 @@ fi # shellcheck disable=SC2034 : "${KALEIDOSCOPE_BIN_DIR:=${KALEIDOSCOPE_DIR}/bin/}" -identify_os -read_conf_files -configure_arduino_cli_env +_identify_os +_read_conf_files +_configure_arduino_cli_env # shellcheck disable=SC1090