change output
This commit is contained in:
parent
c2be396001
commit
7daa5ffcb5
1 changed files with 4 additions and 2 deletions
|
@ -81,7 +81,7 @@ EOF
|
|||
|
||||
fi
|
||||
|
||||
loginfo -n "repo synced"
|
||||
loginfo -n ", repo synced"
|
||||
|
||||
if ${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE-${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_DEFAULT-true}}; then
|
||||
logdebug "update submodules"
|
||||
|
@ -111,11 +111,13 @@ logdebug "update submodules"
|
|||
#$SGIT submodule update --init --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; }
|
||||
#$SGIT checkout .gitmodules
|
||||
logdebug "submodules updated successfully"
|
||||
loginfo -n "submodules synced"
|
||||
loginfo -n ", submodules synced"
|
||||
|
||||
else
|
||||
loginfo -n ", submodules not synced"
|
||||
logdebug "Do not update submodules. It's denied by environment MYSHELLCONFIG_GIT_UPDATE_SUBMODULES: ${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE-${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_DEFAULT-true}}"
|
||||
fi
|
||||
loginfo -m ": "
|
||||
|
||||
EXIT
|
||||
exit $rc
|
||||
|
|
Loading…
Reference in a new issue