|
@ -548,6 +548,10 @@ minimize_mod() { |
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if [ "@$EM_ONLINE" = "@" ]; then |
|
|
|
|
|
EM_ONLINE="true" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
install_git_mod_here(){ |
|
|
install_git_mod_here(){ |
|
|
PREV_DIR="`pwd`" |
|
|
PREV_DIR="`pwd`" |
|
|
THIS_MODS_PATH="`pwd`" |
|
|
THIS_MODS_PATH="`pwd`" |
|
@ -578,6 +582,7 @@ install_git_mod_here(){ |
|
|
else |
|
|
else |
|
|
cd "$THIS_MOD_REPO" || customExit "(install_git_mod_here) 'cd \"$THIS_MOD_REPO\"' failed in '`pwd`'" |
|
|
cd "$THIS_MOD_REPO" || customExit "(install_git_mod_here) 'cd \"$THIS_MOD_REPO\"' failed in '`pwd`'" |
|
|
# echo " * updating '`pwd`' from git..." |
|
|
# echo " * updating '`pwd`' from git..." |
|
|
|
|
|
if [ "@$EM_ONLINE" != "@false" ]; then |
|
|
GIT_OUTPUT=$(git pull) |
|
|
GIT_OUTPUT=$(git pull) |
|
|
if [ "$GIT_OUTPUT" != "Already up to date." ]; then |
|
|
if [ "$GIT_OUTPUT" != "Already up to date." ]; then |
|
|
echo " $GIT_OUTPUT" |
|
|
echo " $GIT_OUTPUT" |
|
@ -586,6 +591,7 @@ install_git_mod_here(){ |
|
|
echo "WARNING: (install_git_mod_here) 'git pull' failed in '`pwd`'" |
|
|
echo "WARNING: (install_git_mod_here) 'git pull' failed in '`pwd`'" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
cd "$PREV_DIR" || customExit "(install_git_mod_here) 'cd ..' failed in '`pwd`'" |
|
|
cd "$PREV_DIR" || customExit "(install_git_mod_here) 'cd ..' failed in '`pwd`'" |
|
|
|
|
|
|
|
|