Browse Source

fix: increase compatibility with older bash versions(macos)

pull/9537/head
sinanmohd 2 months ago
parent
commit
2aaa2b33d6
  1. 4
      docker-compose/1_Auto_Upstall/noco.sh

4
docker-compose/1_Auto_Upstall/noco.sh

@ -196,8 +196,8 @@ prompt_oneof() {
fi fi
for one in "$@"; do for one in "$@"; do
resp_upper="${response^^}" resp_upper="$(echo "$response" | tr '[:lower:]' '[:upper:]')"
one_upper="${one^^}" one_upper="$(echo "$one" | tr '[:lower:]' '[:upper:]')"
if [ "$resp_upper" = "$one_upper" ]; then if [ "$resp_upper" = "$one_upper" ]; then
echo "$one" echo "$one"
return return

Loading…
Cancel
Save