From 3ea2e0cd8fa1a64f2a5339b0b0f60824eb1cd5b8 Mon Sep 17 00:00:00 2001 From: yage Date: Fri, 18 Aug 2023 12:40:14 -0600 Subject: [PATCH] v3.3.3 ===================================================================== --- Bug Fixes ---------------------------- - load static config files in all scwrypts contexts; not just groups --- run | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run b/run index 72bb49b..e26a851 100755 --- a/run +++ b/run @@ -215,15 +215,16 @@ __RUN() { do local ENV_FILE=$(SCWRYPTS__GET_ENV_FILE "$ENV_NAME" "$GROUP") source "$ENV_FILE" || FAIL 5 "missing or invalid environment '$GROUP/$ENV_NAME'" + + for f in $(eval 'echo $SCWRYPTS_STATIC_CONFIG__'$GROUP) + do + source "$f" || FAIL 5 "invalid static config '$f'" + done done export ENV_NAME } - for f in $(eval 'echo $SCWRYPTS_STATIC_CONFIG__'$SCWRYPT_GROUP) - do - source "$f" || FAIL 5 "invalid static config '$f'" - done ##########################################