From 2d97a59e9674366223e66793782797bbe8bb6d3a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 28 Feb 2022 22:24:16 -0600 Subject: [PATCH] Cleanup: Scripts syntax and styles. The primary focus is on fixing the uppercase letters for the error and warning statements to follow proper sentence structure. Other clean ups are incidental. --- build/scripts/bootstrap.sh | 42 ++++++++++++++++++++++++------- build/scripts/install.sh | 62 +++++++++++++++++++++++++++------------------- build/scripts/package.sh | 57 ++++++++++++++++++++++++++---------------- 3 files changed, 105 insertions(+), 56 deletions(-) diff --git a/build/scripts/bootstrap.sh b/build/scripts/bootstrap.sh index 939c5ed..cd8d32f 100644 --- a/build/scripts/bootstrap.sh +++ b/build/scripts/bootstrap.sh @@ -44,7 +44,7 @@ bootstrap_main() { local path_build=build/ local path_build_stage=build/stage/ local path_data=data/ - local path_settings="${path_data}settings/" + local path_settings=${path_data}settings/ local path_sources=sources/ local path_language=c/ local path_work= @@ -58,7 +58,7 @@ bootstrap_main() { local override_path_work= local defines_override= local process= - local verbosity="normal" + local verbosity=normal local enable_shared= local enable_static= @@ -155,6 +155,7 @@ bootstrap_main() { if [[ $do_help == "yes" ]] ; then bootstrap_help bootstrap_cleanup + return 0 fi @@ -169,6 +170,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi done @@ -176,6 +178,7 @@ bootstrap_main() { if [[ $? -ne 0 ]] ; then bootstrap_cleanup + return 1 fi @@ -183,6 +186,7 @@ bootstrap_main() { if [[ $? -ne 0 ]] ; then bootstrap_cleanup + return 1 fi @@ -190,6 +194,7 @@ bootstrap_main() { if [[ $? -ne 0 ]] ; then bootstrap_cleanup + return 1 fi @@ -208,14 +213,18 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi else let i=0 for m in $modes_available ; do + for mode in $modes ; do + if [[ "$mode" == "$m" ]] ; then let i=1 + break fi done @@ -229,6 +238,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi fi @@ -239,6 +249,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -248,6 +259,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -257,6 +269,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -266,6 +279,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -275,6 +289,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -284,6 +299,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -293,6 +309,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -302,6 +319,7 @@ bootstrap_main() { fi bootstrap_cleanup + return 1 fi @@ -321,10 +339,11 @@ bootstrap_main() { if [[ $operation_failure == "fail-multiple" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: only one operation may be specified at a time.$c_reset" + echo -e "${c_error}ERROR: Only one operation may be specified at a time.$c_reset" fi bootstrap_cleanup + return 1 elif [[ $operation == "build" ]] ; then if [[ $verbosity != "quiet" ]] ; then @@ -337,6 +356,7 @@ bootstrap_main() { if [[ $? -ne 0 ]] ; then bootstrap_cleanup + return 1 fi fi @@ -345,6 +365,7 @@ bootstrap_main() { if [[ $? -ne 0 ]] ; then bootstrap_cleanup + return 1 fi elif [[ $operation == "clean" ]] ; then @@ -356,21 +377,24 @@ bootstrap_main() { bootstrap_operation_clean elif [[ $operation == "" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no operation was given.$c_reset" + echo -e "${c_error}ERROR: No operation was given.$c_reset" fi bootstrap_cleanup + return 1 else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the operation $c_notice$operation$c_error was not recognized.$c_reset" + echo -e "${c_error}ERROR: The operation $c_notice$operation$c_error was not recognized.$c_reset" fi bootstrap_cleanup + return 1 fi bootstrap_cleanup + return 0 } @@ -402,7 +426,7 @@ bootstrap_help() { echo -e "${c_title}$public_name$c_reset" echo -e " ${c_notice}Version $version$c_reset" echo - echo -e "$c_highlight$system_name$c_reset $c_notice<${c_reset}operation$c_notice>$c_reset" + echo -e "$c_highlight$system_name$c_reset $c_notice[${c_reset} options $c_notice]$c_reset $c_notice[${c_reset} operation $c_notice]$c_reset" echo -e " ${c_important}build${c_reset} Build or compile the code based on build settings file." echo -e " ${c_important}clean${c_reset} Delete all build files." echo @@ -641,13 +665,13 @@ bootstrap_load_settings() { if [[ ! -d ${path_data}build/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no build settings directory '$c_notice${path_data}build/$c_error' could not be found or is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: No build settings directory '$c_notice${path_data}build/$c_error' could not be found or is not a valid directory.$c_reset" fi let failure=1 elif [[ ! -f $settings_file ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no settings file $c_notice$settings_file$c_error could not be found or is not a valid file.$c_reset" + echo -e "${c_error}ERROR: No settings file $c_notice$settings_file$c_error could not be found or is not a valid file.$c_reset" fi let failure=1 @@ -1236,7 +1260,7 @@ bootstrap_operation_build() { if [[ $failure -eq 1 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to build.$c_reset" + echo -e "${c_error}ERROR: Failed to build.$c_reset" fi return 1 diff --git a/build/scripts/install.sh b/build/scripts/install.sh index e12d37e..f64033f 100644 --- a/build/scripts/install.sh +++ b/build/scripts/install.sh @@ -35,7 +35,7 @@ install_main() { local settings_file=data/build/settings local operation= local operation_failure= - local verbosity="normal" + local verbosity=normal local verbose= local path_build=build/ @@ -63,7 +63,7 @@ install_main() { local enable_static= local enable_static_programs= local enable_static_libraries= - local enable_includes="yes" + local enable_includes=yes if [[ $# -gt 0 ]] ; then t=$# @@ -171,33 +171,37 @@ install_main() { if [[ $do_help == "yes" ]] ; then install_help install_cleanup + return 0 fi if [[ $operation_failure == "fail-unsupported" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the operation $c_notice$operation$c_error was not recognized.$c_reset" + echo -e "${c_error}ERROR: The operation $c_notice$operation$c_error was not recognized.$c_reset" fi install_cleanup + return 1 fi if [[ ! -d $path_build ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the build path $c_notice$path_build$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The build path $c_notice$path_build$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && $destination_prefix != "" && ! -d $destination_prefix ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination prefix $c_notice$destination_prefix$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination prefix $c_notice$destination_prefix$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi @@ -249,64 +253,71 @@ install_main() { if [[ $work != "" && ! -d $work ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the work directory $c_notice$work$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The work directory $c_notice$work$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_programs ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination bindir $c_notice$destination_programs$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination bindir $c_notice$destination_programs$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_programs_static ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination (static) bindir $c_notice$destination_programs_static$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination (static) bindir $c_notice$destination_programs_static$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_programs_shared ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination (shared) bindir $c_notice$destination_programs_shared$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination (shared) bindir $c_notice$destination_programs_shared$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_includes ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination incluedir $c_notice$destination_includes$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination incluedir $c_notice$destination_includes$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_libraries_static ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination (static) libdir $c_notice$destination_libraries_static$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination (static) libdir $c_notice$destination_libraries_static$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi if [[ $work == "" && ! -d $destination_libraries_shared ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the destination (shared) libdir $c_notice$destination_libraries_shared$c_error is not a valid directory.$c_reset" + echo -e "${c_error}ERROR: The destination (shared) libdir $c_notice$destination_libraries_shared$c_error is not a valid directory.$c_reset" fi install_cleanup + return 1 fi @@ -315,6 +326,7 @@ install_main() { install_perform_install install_cleanup + return 0 } @@ -344,7 +356,7 @@ install_help() { echo -e "${c_title}$public_name$c_reset" echo -e " ${c_notice}Version $version$c_reset" echo - echo -e "$c_highlight$system_name$c_reset" + echo -e "$c_highlight$system_name$c_reset $c_notice[${c_reset} options $c_notice]$c_reset" echo echo -e "${c_highlight}Options:$c_reset" echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen." @@ -400,13 +412,13 @@ install_load_settings() { if [[ $settings_file == "" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no settings file has been defined.$c_reset" + echo -e "${c_error}ERROR: No settings file has been defined.$c_reset" fi failure=1 elif [[ ! -f $settings_file ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no settings file $c_notice$settings_file$c_error could not be found or is not a valid file.$c_reset" + echo -e "${c_error}ERROR: No settings file $c_notice$settings_file$c_error could not be found or is not a valid file.$c_reset" fi failure=1 @@ -534,7 +546,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}programs$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}programs$c_error.$c_reset" fi failure=1 @@ -546,7 +558,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}programs/shared$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}programs/shared$c_error.$c_reset" fi failure=1 @@ -558,7 +570,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}programs/static$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}programs/static$c_error.$c_reset" fi failure=1 @@ -572,7 +584,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}libraries$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}libraries$c_error.$c_reset" fi failure=1 @@ -584,7 +596,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}libraries/shared$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}libraries/shared$c_error.$c_reset" fi failure=1 @@ -596,7 +608,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}libraries/static$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}libraries/static$c_error.$c_reset" fi failure=1 @@ -610,7 +622,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create work directories $c_notice${work}includes$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create work directories $c_notice${work}includes$c_error.$c_reset" fi failure=1 @@ -640,7 +652,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy include files from $c_notice$path_build$path_includes$c_error to $c_notice$destination_includes$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy include files from $c_notice$path_build$path_includes$c_error to $c_notice$destination_includes$c_error.$c_reset" fi failure=1 @@ -658,7 +670,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy (static) library files from $c_notice$path_build$path_libraries$path_static$c_error to $c_notice$destination_libraries_static$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy (static) library files from $c_notice$path_build$path_libraries$path_static$c_error to $c_notice$destination_libraries_static$c_error.$c_reset" fi failure=1 @@ -675,7 +687,7 @@ install_perform_install() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy (shared) library files from $c_notice$path_build$path_libraries$path_shared$c_error to $c_notice$destination_libraries_shared$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy (shared) library files from $c_notice$path_build$path_libraries$path_shared$c_error to $c_notice$destination_libraries_shared$c_error.$c_reset" fi failure=1 diff --git a/build/scripts/package.sh b/build/scripts/package.sh index c60f6dd..085cfd9 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -39,7 +39,7 @@ package_main() { local path_build=build/ local path_destination=package/ local path_sources=./ - local verbosity="normal" + local verbosity=normal if [[ $# -gt 0 ]] ; then t=$# @@ -105,23 +105,26 @@ package_main() { if [[ $do_help == "yes" ]] ; then package_help package_cleanup + return 0 fi if [[ $operation_failure == "fail-multiple" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: only one operation may be specified at a time.$c_reset" + echo -e "${c_error}ERROR: Only one operation may be specified at a time.$c_reset" fi package_cleanup + return 1 elif [[ $operation == "build" ]] ; then if [[ ! -d $path_build ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build directory '$path_build' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build directory '$path_build' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi @@ -129,56 +132,62 @@ package_main() { mkdir $verbose -p $path_destination if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: package directory '$path_destination' is invalid or could not be created.$c_reset" + echo -e "${c_error}ERROR: Package directory '$path_destination' is invalid or could not be created.$c_reset" fi package_cleanup + return 1 fi fi if [[ ! -d $path_sources ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: sources directory '$path_sources' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Sources directory '$path_sources' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi if [[ ! -d ${path_sources}level_0/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build sources directory '${path_sources}level_0/' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build sources directory '${path_sources}level_0/' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi if [[ ! -d ${path_sources}level_1/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build sources directory '${path_sources}level_1/' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build sources directory '${path_sources}level_1/' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi if [[ ! -d ${path_sources}level_2/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build sources directory '${path_sources}level_2/' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build sources directory '${path_sources}level_2/' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi if [[ ! -d ${path_sources}level_3/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build sources directory '${path_sources}level_3/' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build sources directory '${path_sources}level_3/' is invalid or missing.$c_reset" fi package_cleanup + return 1 fi @@ -204,7 +213,7 @@ package_main() { elif [[ $operation == "dependencies" ]] ; then if [[ ! -d $path_sources ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: sources directory '$path_sources' is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Sources directory '$path_sources' is invalid or missing.$c_reset" fi package_cleanup @@ -215,31 +224,35 @@ package_main() { elif [[ $operation == "clean" ]] ; then if [[ ! -d $path_destination ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_warning}WARNING: package directory '$path_destination' does not exist, there is nothing to clean.$c_reset" + echo -e "${c_warning}WARNING: Package directory '$path_destination' does not exist, there is nothing to clean.$c_reset" fi package_cleanup + return 0 fi package_operation_clean elif [[ $operation == "" ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: no operation was given.$c_reset" + echo -e "${c_error}ERROR: No operation was given.$c_reset" fi package_cleanup + return 1 else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the operation $c_notice$operation$c_error was not recognized.$c_reset" + echo -e "${c_error}ERROR: The operation $c_notice$operation$c_error was not recognized.$c_reset" fi package_cleanup + return 1 fi package_cleanup + return 0 } @@ -269,7 +282,7 @@ package_help() { echo -e "${c_title}$public_name$c_reset" echo -e " ${c_notice}Version $version$c_reset" echo - echo -e "$c_highlight$system_name$c_reset $c_notice<${c_reset}operation$c_notice>$c_reset" + echo -e "$c_highlight$system_name$c_reset $c_notice[${c_reset} options $c_notice]$c_reset $c_notice[${c_reset} operation $c_notice]$c_reset" echo -e " ${c_important}build${c_reset} Build the package." echo -e " ${c_important}dependencies${c_reset} Rebuild all dependencies." echo -e " ${c_important}clean${c_reset} Delete all built packages." @@ -350,7 +363,7 @@ package_create_base_files() { fi else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: neither directory $c_notice${path_build}licenses$c_error nor $c_notice${path_build}../licenses$c_error can be found or are invalid.$c_reset" + echo -e "${c_error}ERROR: Neither directory $c_notice${path_build}licenses$c_error nor $c_notice${path_build}../licenses$c_error can be found or are invalid.$c_reset" fi let failure=1 @@ -493,7 +506,7 @@ package_dependencies_individual() { if [[ ! -f ${directory}/data/build/dependencies ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: cannot build dependencies, failed to find $c_notice${directory}/data/build/dependencies$c_error.$c_reset" + echo -e "${c_error}ERROR: Cannot build dependencies, failed to find $c_notice${directory}/data/build/dependencies$c_error.$c_reset" fi let failure=1 @@ -502,7 +515,7 @@ package_dependencies_individual() { if [[ ! -f ${directory}/data/build/settings ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: cannot build dependencies for $c_reset$c_notice${name}$c_reset${c_error}, failed to find $c_notice${directory}/data/build/settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Cannot build dependencies for $c_reset$c_notice${name}$c_reset${c_error}, failed to find $c_notice${directory}/data/build/settings$c_error.$c_reset" fi let failure=1 @@ -534,7 +547,7 @@ package_dependencies_individual() { level=level_2 else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_warning}WARNING: failed to detect level for dependency $c_notice$dependency$c_warning.$c_reset" + echo -e "${c_warning}WARNING: Failed to detect level for dependency $c_notice$dependency$c_warning.$c_reset" fi continue @@ -561,7 +574,7 @@ package_dependencies_individual() { sub_level=level_1 else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_warning}WARNING: failed to detect level for sub-dependency $c_notice$sub_dependency$c_warning.$c_reset" + echo -e "${c_warning}WARNING: Failed to detect level for sub-dependency $c_notice$sub_dependency$c_warning.$c_reset" fi continue @@ -586,7 +599,7 @@ package_dependencies_individual() { sub_sub_level=level_0 else if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_warning}WARNING: failed to detect level for sub-sub-dependency $c_notice$sub_sub_dependency$c_warning.$c_reset" + echo -e "${c_warning}WARNING: Failed to detect level for sub-sub-dependency $c_notice$sub_sub_dependency$c_warning.$c_reset" fi continue @@ -1439,7 +1452,7 @@ package_operation_level() { if [[ ! -d $path_build$level ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build settings directory $c_notice$path_build$level$c_error is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build settings directory $c_notice$path_build$level$c_error is invalid or missing.$c_reset" fi let failure=1 @@ -1545,7 +1558,7 @@ package_operation_monolithic() { if [[ ! -d ${path_build}monolithic ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: build settings directory $c_notice${path_build}monolithic$c_error is invalid or missing.$c_reset" + echo -e "${c_error}ERROR: Build settings directory $c_notice${path_build}monolithic$c_error is invalid or missing.$c_reset" fi package_cleanup -- 1.8.3.1