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 {
|
function push {
|
||||||
if [[ -d .git ]]; then
|
if [[ -d .git ]]; then
|
||||||
git push && load-stage && load-prod
|
git push && eval load-stage && eval load-prod
|
||||||
else
|
else
|
||||||
send-master
|
send-master
|
||||||
fi
|
fi
|
||||||
@@ -691,3 +691,5 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')"
|
|||||||
|
|
||||||
[[ $(whoami) != "root" ]] &&
|
[[ $(whoami) != "root" ]] &&
|
||||||
echo "`date` - Shared RC Config - Complete!"
|
echo "`date` - Shared RC Config - Complete!"
|
||||||
|
|
||||||
|
export _LOADED_SHARED_RC=true
|
||||||
|
|||||||
Reference in New Issue
Block a user