Skip to content

Commit 2e88a14

Browse files
add --recursive to submodule update for prometheus-cpp-lite
1 parent fde48bb commit 2e88a14

11 files changed

+11
-11
lines changed

build_scripts/build-fsal/build-fsal_cephfs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cd $(basename "${GERRIT_PROJECT}")
4040
git 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

build_scripts/build-fsal/build-fsal_gluster.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cd $(basename "${GERRIT_PROJECT}")
3737
git 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

build_scripts/build-fsal/build-fsal_gpfs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cd $(basename "${GERRIT_PROJECT}")
3737
git 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

build_scripts/build-fsal/build-fsal_rgw.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cd $(basename "${GERRIT_PROJECT}")
4343
git 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

build_scripts/build-tests/build-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cd $(basename "${GERRIT_PROJECT}")
3434
git 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

build_scripts/code-compilation/client.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ do
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 ..

build_scripts/common/basic-ceph.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ else
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

build_scripts/common/basic-gluster.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ else
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

build_scripts/common/basic-storage-scale.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ else
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

build_scripts/common/basic-vfs-minmd.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ else
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

build_scripts/common/basic-vfs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ else
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

0 commit comments

Comments
 (0)