File tree Expand file tree Collapse file tree 11 files changed +11
-11
lines changed
Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ cd $(basename "${GERRIT_PROJECT}")
4040git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
4141
4242# update libntirpc
43- git submodule update --init || git submodule sync
43+ git submodule update --recursive -- init || git submodule sync
4444
4545# cleanup old build dir
4646[ -d build ] && rm -rf build
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ cd $(basename "${GERRIT_PROJECT}")
3737git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
3838
3939# update libntirpc
40- git submodule update --init || git submodule sync
40+ git submodule update --recursive -- init || git submodule sync
4141
4242# cleanup old build dir
4343[ -d build ] && rm -rf build
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ cd $(basename "${GERRIT_PROJECT}")
3737git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
3838
3939# update libntirpc
40- git submodule update --init || git submodule sync
40+ git submodule update --recursive -- init || git submodule sync
4141
4242# cleanup old build dir
4343[ -d build ] && rm -rf build
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ cd $(basename "${GERRIT_PROJECT}")
4343git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
4444
4545# update libntirpc
46- git submodule update --init || git submodule sync
46+ git submodule update --recursive -- init || git submodule sync
4747
4848# cleanup old build dir
4949[ -d build ] && rm -rf build
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ cd $(basename "${GERRIT_PROJECT}")
3434git fetch --depth=1 origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
3535
3636# update libntirpc
37- git submodule update --init || git submodule sync
37+ git submodule update --recursive -- init || git submodule sync
3838
3939# cleanup old build dir
4040[ -d build ] && rm -rf build
Original file line number Diff line number Diff line change 5858 git checkout next
5959 if [ $once -eq 0 ]
6060 then
61- git submodule update --init || git submodule sync
61+ git submodule update --recursive -- init || git submodule sync
6262 once=1
6363 fi
6464 cd ..
Original file line number Diff line number Diff line change 9898 git checkout -b " ${GERRIT_REFSPEC} " FETCH_HEAD
9999
100100 # update libntirpc
101- git submodule update --init || git submodule sync
101+ git submodule update --recursive -- init || git submodule sync
102102
103103 mkdir build
104104 pushd build
Original file line number Diff line number Diff line change 9898 git checkout -b " ${GERRIT_REFSPEC} " FETCH_HEAD
9999
100100 # update libntirpc
101- git submodule update --init || git submodule sync
101+ git submodule update --recursive -- init || git submodule sync
102102
103103 mkdir build
104104 pushd build
Original file line number Diff line number Diff line change 158158 git checkout -b " ${GERRIT_REFSPEC} " FETCH_HEAD
159159
160160 # update libntirpc
161- git submodule update --init || git submodule sync
161+ git submodule update --recursive -- init || git submodule sync
162162
163163 mkdir build
164164 pushd build
Original file line number Diff line number Diff line change 8787 git checkout -b " ${GERRIT_REFSPEC} " FETCH_HEAD
8888
8989 # update libntirpc
90- git submodule update --init || git submodule sync
90+ git submodule update --recursive -- init || git submodule sync
9191
9292 mkdir build
9393 pushd build
You can’t perform that action at this time.
0 commit comments