From 96fa53d5213c24cb0fc322481e622904f05ffcbd Mon Sep 17 00:00:00 2001 From: Burak Date: Wed, 14 Apr 2021 13:55:53 +0300 Subject: [PATCH] [EGD-6559] Fix typos Corrected typos in config/bootstrap.sh, config/format-config.sh, config/license_header_check.sh, config/style_check_hook.sh and in_docker.sh. --- config/bootstrap.sh | 8 ++++---- config/format-config.sh | 4 ++-- config/license_header_check.sh | 2 +- config/style_check_hook.sh | 4 ++-- in_docker.sh | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/config/bootstrap.sh b/config/bootstrap.sh index ebd36c76ec3a282267d203ba674e79ef3d0f06ed..20bb76e46c4df6a2cff0171eabe2ee3b94998967 100755 --- a/config/bootstrap.sh +++ b/config/bootstrap.sh @@ -7,7 +7,7 @@ # !!! WARNING !!! # # this script was written for `raw` ubuntu 18.10 64b -# optionaly consider installing ccache: +# optionally consider installing ccache: # `sudo apt install ccache` # it's support is added to default ccache @@ -24,7 +24,7 @@ function test_if_run_as_root() { if [[ "${MY_NAME}" == "root" ]]; then cat <<-MSGEND Please do not run this script as a root. - Script will ask for your password for taks it needs + Script will ask for your password for tasks it needs to run as a root (sudo ...) MSGEND exit 1 @@ -52,7 +52,7 @@ function install_hooks(){ echo -e "\e[32m${FUNCNAME[0]}\e[0m" cat <<-MSGEND Install style checking hooks - by default hook is reportin error only + by default hook is reporting error only if you would like to make it automatically fix style errors add config "user.fixinstage" to your git configuration: git config user.fixinstage true MSGEND @@ -85,7 +85,7 @@ function install_pip_packages() { function install_ubuntu_packages() { echo -e "\e[32m${FUNCNAME[0]}\e[0m" cat <<-MSGEND - # Install neccessary packages + # Install necessary packages MSGEND echo "This will change your system, press CTRL+C if you do not want to install required packages, or press enter to continue..." read asdfasraewrawesjr diff --git a/config/format-config.sh b/config/format-config.sh index 077e056c2339a83dab1d2268ef54e25e1d74b467..c729711cd998367b53a0dbea2c669c49874643c5 100644 --- a/config/format-config.sh +++ b/config/format-config.sh @@ -3,7 +3,7 @@ # For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md # config file for pre-commit.hook clang-format -# ignore file for clang-format autoformating +# ignore file for clang-format autoformatting # set this variable in your shell if you wish to disable autoformatting on commit for time being export DISABLE_AUTO_FORMATTING=0 @@ -11,7 +11,7 @@ export DISABLE_AUTO_FORMATTING=0 # set this variable to get more verbose output export VERBOSE=1 -# ignore_paths for formatter - these are regex matched with filenames to be formated +# ignore_paths for formatter - these are regex matched with filenames to be formatted # if you don't wish to format i.e one file - just pass whole path to this file from git root directory export declare ignore_paths=( '.*/catch.hpp' diff --git a/config/license_header_check.sh b/config/license_header_check.sh index 4e2eb62db2b192a37f263f77889fac37c40a0626..425142963bccd087e6aef092b1fd790d1ca06bf2 100755 --- a/config/license_header_check.sh +++ b/config/license_header_check.sh @@ -184,7 +184,7 @@ function shouldnt_ignore() { function help() { cat < [OPTIONS] - run ./configure.sh in container @@ -30,7 +30,7 @@ function help() { OPTIONS are passed to cmake as is run '${0} config' without params to see details make|ninja [OPTIONS] - run 'make' in container. You have to pass directory - creted by '${0} config' command. + created by '${0} config' command. you can pass additional arguments for make linke '-j' or 'VERBOSE=1' MSGEND exit 0