diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-02-05 17:54:18 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-02-05 17:54:28 +0100 |
commit | afc643778d6faeb52eca2c084f4c3e2f6efe6a33 (patch) | |
tree | 00dab84759d8a9fbe40842673f41779c4d4754d8 /tools | |
parent | a300764d14f008811096a5c1fa142415ed96d5cc (diff) |
add quotes in bash
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/distrib/clang_format_code.sh | 2 | ||||
-rwxr-xr-x | tools/distrib/clang_tidy_code.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/distrib/clang_format_code.sh b/tools/distrib/clang_format_code.sh index 3bba16175d..cd7553e917 100755 --- a/tools/distrib/clang_format_code.sh +++ b/tools/distrib/clang_format_code.sh @@ -27,7 +27,7 @@ then # run clang-format against the checked out codebase # when modifying the checked-out files, the current user will be impersonated # so that the updated files don't end up being owned by "root". - docker run -e TEST=$TEST -e CHANGED_FILES="$CHANGED_FILES" -e CLANG_FORMAT_ROOT="/local-code" --rm=true -v "${REPO_ROOT}":/local-code --user "$(id -u):$(id -g)" -t grpc_clang_format /clang_format_all_the_things.sh + docker run -e TEST="$TEST" -e CHANGED_FILES="$CHANGED_FILES" -e CLANG_FORMAT_ROOT="/local-code" --rm=true -v "${REPO_ROOT}":/local-code --user "$(id -u):$(id -g)" -t grpc_clang_format /clang_format_all_the_things.sh else CLANG_FORMAT_ROOT="${REPO_ROOT}" tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh fi diff --git a/tools/distrib/clang_tidy_code.sh b/tools/distrib/clang_tidy_code.sh index 12e3ff3ae7..9262b6bd3e 100755 --- a/tools/distrib/clang_tidy_code.sh +++ b/tools/distrib/clang_tidy_code.sh @@ -29,7 +29,7 @@ then # run clang-tidy against the checked out codebase # when modifying the checked-out files, the current user will be impersonated # so that the updated files don't end up being owned by "root". - docker run -e TEST=$TEST -e CHANGED_FILES="$CHANGED_FILES" -e CLANG_TIDY_ROOT="/local-code" --rm=true -v "${REPO_ROOT}":/local-code --user "$(id -u):$(id -g)" -t grpc_clang_tidy /clang_tidy_all_the_things.sh "$@" + docker run -e TEST="$TEST" -e CHANGED_FILES="$CHANGED_FILES" -e CLANG_TIDY_ROOT="/local-code" --rm=true -v "${REPO_ROOT}":/local-code --user "$(id -u):$(id -g)" -t grpc_clang_tidy /clang_tidy_all_the_things.sh "$@" else CLANG_TIDY_ROOT="${REPO_ROOT}" tools/dockerfile/grpc_clang_tidy/clang_tidy_all_the_things.sh "$@" fi |