From 7ce0ad7cf837b7987ae0922ff86bf9ae781a1029 Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Sun, 5 May 2024 00:47:54 -0400 Subject: [PATCH] chore: Remove title case (#177) --- scripts/run_module.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/run_module.sh b/scripts/run_module.sh index 85a4661..2330723 100644 --- a/scripts/run_module.sh +++ b/scripts/run_module.sh @@ -17,16 +17,12 @@ print_banner() { printf '%*.*s%s%*.*s\n' 0 "$padlen" "$padding" "$text" 0 "$padlen" "$padding" } -title_case() { - echo $(tr '[:lower:]' '[:upper:]' <<< ${1:0:1})${1:1} -} - module="$1" params="$2" script_path="/tmp/modules/${module}/${module}.sh" -print_banner "Start $(title_case ${module}) Module" +print_banner "Start '${module}' Module" chmod +x ${script_path} ${script_path} "${params}" -print_banner "End $(title_case ${module}) Module" +print_banner "End '${module}' Module" ostree container commit