Explorar o código

improve lower-casing

fixes an error on OpenWRT
HarvsG %!s(int64=3) %!d(string=hai) anos
pai
achega
9a5fd05005
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/netclient-install.sh

+ 1 - 1
scripts/netclient-install.sh

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