From 9a5fd05005a48b0a6665c1c3c903637b1117c237 Mon Sep 17 00:00:00 2001 From: HarvsG <11440490+HarvsG@users.noreply.github.com> Date: Wed, 13 Jul 2022 18:25:38 +0100 Subject: [PATCH] improve lower-casing fixes an error on OpenWRT --- scripts/netclient-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/netclient-install.sh b/scripts/netclient-install.sh index 66ff5b60..c0c312c6 100755 --- a/scripts/netclient-install.sh +++ b/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)