From 60ccfcab5a0116d60f0c5b603558d2bc37196da2 Mon Sep 17 00:00:00 2001 From: RJ Padilla Date: Mon, 26 Apr 2021 15:44:20 -0400 Subject: [PATCH] `treehouses wificountry` case insensitivity (fixes #2167) (#2178) Co-authored-by: dogi --- modules/wificountry.sh | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wificountry.sh b/modules/wificountry.sh index b1ca2c34cd..f4ddd0759d 100644 --- a/modules/wificountry.sh +++ b/modules/wificountry.sh @@ -4,6 +4,7 @@ function wificountry { checkroot checkargn $# 1 country=$1 + country=${country^^} country_codes=(US CA JP DE NL IT PT LU NO FI DK CH CZ ES GB KR CN FR HK SG TW BR IL SA LB AE ZA AR AU AT BO CL GR IS IN IE KW LI LT MX MA NZ PL PR SK SI TH UY PA RU KW LI LT MX MA NZ PL PR SK SI TH UY PA RU EG TT diff --git a/package.json b/package.json index ed0902dcb5..014c9c17b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.25.51", + "version": "1.25.52", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",