22ec00d1f62ffe9c5e04d6eefc49be40e082407d

Author
Gurram Siddarth Reddy <73605274+siddarthreddygsr@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore(install): option case matching (#12881)

Diff

 1diff --git a/tools/install.sh b/tools/install.sh
 2index e5f1269152ffc32ee471cf7a71d59bd4d05b591d..5c9b2c18dc5fd48b1ccbd75224e86a053dec7c05 100755
 3--- a/tools/install.sh
 4+++ b/tools/install.sh
 5@@ -399,8 +399,8 @@ EOF
 6     "$FMT_YELLOW" "$FMT_RESET"
 7   read -r opt
 8   case $opt in
 9-    y*|Y*|"") ;;
10-    n*|N*) echo "Shell change skipped."; return ;;
11+    [Yy]*|"") ;;
12+    [Nn]*) echo "Shell change skipped."; return ;;
13     *) echo "Invalid choice. Shell change skipped."; return ;;
14   esac
15