From 40d64504282b877d42f4dae73bbd62261b1dde93 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 27 May 2026 09:40:03 -0700 Subject: [PATCH] Defer the functions which have not been defined yet at this point. --- rc_shared.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc_shared.sh b/rc_shared.sh index e61725d..48d908c 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -257,7 +257,7 @@ function pull { function push { if [[ -d .git ]]; then - git push && load-stage && load-prod + git push && eval load-stage && eval load-prod else send-master fi @@ -691,3 +691,5 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')" [[ $(whoami) != "root" ]] && echo "`date` - Shared RC Config - Complete!" + +export _LOADED_SHARED_RC=true