Browse Source

improve lower-casing

fixes an error on OpenWRT
HarvsG 3 years ago
parent
commit
9a5fd05005
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/netclient-install.sh

+ 1 - 1
scripts/netclient-install.sh

@@ -114,7 +114,7 @@ dist=netclient
 echo "OS Version = $(uname)"
 echo "OS Version = $(uname)"
 echo "Netclient Version = $VERSION"
 echo "Netclient Version = $VERSION"
 
 
-case $(uname | tr '[:upper:]' '[:lower:]') in
+case $(uname | tr A-Z a-z) in
 	linux*)
 	linux*)
 		if [ -z "$CPU_ARCH" ]; then
 		if [ -z "$CPU_ARCH" ]; then
 			CPU_ARCH=$(uname -m)
 			CPU_ARCH=$(uname -m)