diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-04 15:05:35 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-04 15:05:35 -0800 |
commit | 64195a7dedca90b07d5de5531aacc5472087c448 (patch) | |
tree | 66ff4e937628548c67f8116062d8b22369ba3e15 /tools/distrib | |
parent | 408dc2139048ff1a7f567bc0043ef5b9c2addcf8 (diff) |
Attempt to get docker clang-format working
Diffstat (limited to 'tools/distrib')
-rwxr-xr-x | tools/distrib/clang_format_code.sh | 2 |
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 |