From a58c3422c97c60bd7c01314c2d7c5fab9e9e0604 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Fri, 23 Sep 2016 09:59:57 +0200 Subject: [PATCH] Better printout --- gitlab/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/functions.sh b/gitlab/functions.sh index df3037c..faea582 100644 --- a/gitlab/functions.sh +++ b/gitlab/functions.sh @@ -31,7 +31,7 @@ check_env() { log_error "Variable ${1} is undefined - aborting..."; exit 1 else - log_info "\$${1}= ${!1}"; + log_info "\$\{${1}\}=${!1}"; fi } @@ -42,7 +42,7 @@ check_pass() { log_error "Variable ${1} is undefined - aborting..."; exit 1 else - log_info "\$${1}= ********"; + log_info "\$\{${1}\}=********"; fi } -- GitLab