change from git to $MSC_GIT
This commit is contained in:
parent
729063f789
commit
5ac35efb33
2 changed files with 2 additions and 3 deletions
|
@ -90,8 +90,8 @@ fi
|
||||||
|
|
||||||
#echo $MSC_GIT fetch ${MSC_GIT_REMOTE_NAME} -p 1>&2
|
#echo $MSC_GIT fetch ${MSC_GIT_REMOTE_NAME} -p 1>&2
|
||||||
if $dorepoupdate; then
|
if $dorepoupdate; then
|
||||||
loginfo "git submodule sync"
|
loginfo "$MSC_GIT submodule sync"
|
||||||
logdebug "$(git submodule sync 2>&1)"
|
logdebug "$($MSC_GIT submodule sync 2>&1)"
|
||||||
loginfo "fetch repo${dosubmodupdate:+ and submodules}"
|
loginfo "fetch repo${dosubmodupdate:+ and submodules}"
|
||||||
#$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
#$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
||||||
$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
||||||
|
|
|
@ -361,7 +361,6 @@ sshmyshellconfig() {
|
||||||
rm -rf ~/server-config && echo rm -rf ~/server-config
|
rm -rf ~/server-config && echo rm -rf ~/server-config
|
||||||
echo mkdir -p ~/.local
|
echo mkdir -p ~/.local
|
||||||
mkdir -p ~/.local
|
mkdir -p ~/.local
|
||||||
#echo git clone
|
|
||||||
echo git clone --recurse-submodules $MSC_GIT_REMOTE \${HOME}/${MSC_SUBPATH}
|
echo git clone --recurse-submodules $MSC_GIT_REMOTE \${HOME}/${MSC_SUBPATH}
|
||||||
git clone --recurse-submodules $MSC_GIT_REMOTE \${HOME}/${MSC_SUBPATH}
|
git clone --recurse-submodules $MSC_GIT_REMOTE \${HOME}/${MSC_SUBPATH}
|
||||||
date "+%s" > \${HOME}/${MSC_SUBPATH}/.last_update_submodules
|
date "+%s" > \${HOME}/${MSC_SUBPATH}/.last_update_submodules
|
||||||
|
|
Loading…
Reference in a new issue