fix stupid function return mistake
This commit is contained in:
parent
096aecfeec
commit
f9d620cf08
@ -5,8 +5,7 @@
|
||||
#
|
||||
|
||||
convertCase () {
|
||||
lc=$( echo "$1" | tr "[:lower:]" "[:upper:]")
|
||||
return "$lc"
|
||||
printf "%s" "$1" | tr "[:lower:]" "[:upper:]"
|
||||
}
|
||||
|
||||
# convert environment variables to UPPERCASE for proper string comparison
|
||||
|
Loading…
Reference in New Issue
Block a user