From eec85b7c2ff97847d37a11b856a85f06fa9e6a66 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 9 Nov 2023 14:58:20 +0100 Subject: [PATCH] unbound variable --- tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index 6ead863..a8948dd 100755 --- a/tests.sh +++ b/tests.sh @@ -19,7 +19,8 @@ echo "current dotdrop version ${dotdrop_version}" echo "=> python version:" python3 --version -if [ -n "${GH_WORKFLOW}" ]; then +in_cicd="${GH_WORKFLOW:-}" +if [ -n "${in_cicd}" ]; then # in CI/CD if [ -z "${TERM}" ]; then export TERM="linux"