generated from me/template-mit
Defer the functions which have not been defined yet at this point.
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user