diff options
author | Matt Kwong <mattkwong@google.com> | 2016-09-22 17:15:15 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2016-09-28 16:55:14 -0700 |
commit | befac97048f42f55409bb38a34a75c38cbf34241 (patch) | |
tree | 23e3517411e5223df434daff57dfb146db3c9c59 /test/distrib/cpp | |
parent | b97f867b390193daf18988958183143726602727 (diff) |
fixed local cloning of grpc/grpc submodules on docker
Diffstat (limited to 'test/distrib/cpp')
-rwxr-xr-x | test/distrib/cpp/run_distrib_test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/distrib/cpp/run_distrib_test.sh b/test/distrib/cpp/run_distrib_test.sh index bc84b84b8f..cd4158eb5d 100755 --- a/test/distrib/cpp/run_distrib_test.sh +++ b/test/distrib/cpp/run_distrib_test.sh @@ -30,9 +30,13 @@ set -ex -git clone --recursive $EXTERNAL_GIT_ROOT +git clone $EXTERNAL_GIT_ROOT cd grpc +# clone submodules +git submodule | awk -v EXTERNAL_GIT_ROOT=$EXTERNAL_GIT_ROOT '{ system("git \ +submodule update --init --reference " EXTERNAL_GIT_ROOT$2 " " $2) }' + cd third_party/protobuf && ./autogen.sh && \ ./configure && make -j4 && make check && make install && ldconfig |