From 518df6c819071ac0040834e9047a341864b369f0 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sat, 7 Nov 2020 11:29:30 -0500 Subject: [PATCH] Minor syntax correction --- utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.sh b/utils.sh index 96b6b7b..4e2b7dc 100755 --- a/utils.sh +++ b/utils.sh @@ -6,7 +6,7 @@ # and checking current user value, and prompts of yes/no user input. # # https://git.brandon-rodriguez.com/scripts/bash/utils - # Version 1.3 + # Version 1.3.1 ## @@ -520,7 +520,7 @@ function to_upper () { then # At least one arg passed. Loop through each one. return_value=() - for arg in $@ + for arg in ${@} do return_value+=( $(echo "${arg}" | tr '[:lower:]' '[:upper:]') ) done -- GitLab