From 939146538bf61f91e57e945d2cedfda58a540f1c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 10 Apr 2020 13:12:48 +0100 Subject: [PATCH] updated utils.sh --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index e534948b..1d2c3250 100755 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -816,7 +816,7 @@ help_usage(){ check_env_defined(){ local env="$1" - if [ -z "${env:-}" ]; then + if [ -z "${!env:-}" ]; then usage "\$$env not defined" fi }