aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-04 15:05:35 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-04 15:05:35 -0800
commit64195a7dedca90b07d5de5531aacc5472087c448 (patch)
tree66ff4e937628548c67f8116062d8b22369ba3e15 /tools/distrib
parent408dc2139048ff1a7f567bc0043ef5b9c2addcf8 (diff)
Attempt to get docker clang-format working
Diffstat (limited to 'tools/distrib')
-rwxr-xr-xtools/distrib/clang_format_code.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/clang_format_code.sh b/tools/distrib/clang_format_code.sh
index bc913cb6c1..76b389723d 100755
--- a/tools/distrib/clang_format_code.sh
+++ b/tools/distrib/clang_format_code.sh
@@ -37,5 +37,5 @@ cd $(dirname $0)/../..
docker build -t grpc_clang_format tools/dockerfile/grpc_clang_format
# run clang-format against the checked out codebase
-docker run -e TEST=$TEST --rm=true -v `pwd`:/local-code -t grpc_clang_format /clang_format_all_the_things.sh
+docker run -e TEST=$TEST --rm=true -v ${HOST_GIT_ROOT:-`pwd`}:/local-code -t grpc_clang_format /clang_format_all_the_things.sh