diff options
author | 2018-01-23 08:58:11 -0800 | |
---|---|---|
committer | 2018-01-23 08:58:11 -0800 | |
commit | bd0c019c39afde113f5f66b27b1e6055f2635725 (patch) | |
tree | 5dfa40a2e3158b5651bf42134077d52b6fb7fea2 /tools/run_tests/artifacts/run_in_workspace.sh | |
parent | 90a00f8db60e5a0bbcdf1f0111b7f3ff60579016 (diff) | |
parent | ac0808b107d73613191b66617a547a201871a845 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
Diffstat (limited to 'tools/run_tests/artifacts/run_in_workspace.sh')
-rwxr-xr-x | tools/run_tests/artifacts/run_in_workspace.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/run_tests/artifacts/run_in_workspace.sh b/tools/run_tests/artifacts/run_in_workspace.sh index 5b8af6ab53..20181e077c 100755 --- a/tools/run_tests/artifacts/run_in_workspace.sh +++ b/tools/run_tests/artifacts/run_in_workspace.sh @@ -18,15 +18,19 @@ # All cmdline args will be executed as a command. set -ex -cd $(dirname $0)/../../.. +cd "$(dirname "$0")/../../.." export repo_root=$(pwd) +# TODO: fix file to pass shellcheck + rm -rf "${WORKSPACE_NAME}" git clone . "${WORKSPACE_NAME}" # clone gRPC submodules, use data from locally cloned submodules where possible +# shellcheck disable=SC1004,SC2016 git submodule foreach 'cd "${repo_root}/${WORKSPACE_NAME}" \ && git submodule update --init --reference ${repo_root}/${name} ${name}' echo "Running in workspace ${WORKSPACE_NAME}" -cd ${WORKSPACE_NAME} +cd "${WORKSPACE_NAME}" +# shellcheck disable=SC2068 $@ |