fix stupid function return mistake

This commit is contained in:
Asif Bacchus 2019-11-18 05:00:39 -07:00
parent 096aecfeec
commit f9d620cf08

View File

@ -5,8 +5,7 @@
# #
convertCase () { convertCase () {
lc=$( echo "$1" | tr "[:lower:]" "[:upper:]") printf "%s" "$1" | tr "[:lower:]" "[:upper:]"
return "$lc"
} }
# convert environment variables to UPPERCASE for proper string comparison # convert environment variables to UPPERCASE for proper string comparison