diff options
author | Max Moroz <mmoroz@chromium.org> | 2019-02-28 14:51:57 -0800 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2019-02-28 14:51:57 -0800 |
commit | dfd4be9f9a3d7c65a54778e51181f20cb80381df (patch) | |
tree | bc8d77685c90c48f6abd55a42dd647f6511c270e /projects/envoy | |
parent | e61b75ce75a1e7e3638bdab31f4a61df3cd8b72a (diff) |
[envoy] Use $HOME instead of /root as Cloud Builder seems to use non-root user.
Diffstat (limited to 'projects/envoy')
-rwxr-xr-x | projects/envoy/build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh index ba20c2e4..22d04f93 100755 --- a/projects/envoy/build.sh +++ b/projects/envoy/build.sh @@ -105,8 +105,7 @@ then declare -r RSYNC_FILTER_ARGS=("--include" "*.h" "--include" "*.cc" "--include" \ "*.hpp" "--include" "*.cpp" "--include" "*.c" "--include" "*/" "--exclude" "*") rsync -avLk "${RSYNC_FILTER_ARGS[@]}" "${SRC}"/envoy/bazel-out "${REMAP_PATH}" - rsync -avLk "${RSYNC_FILTER_ARGS[@]}" /root "${OUT}" - chmod -R 755 "${OUT}"/root + rsync -avLk "${RSYNC_FILTER_ARGS[@]}" "${HOME}" "${OUT}" fi # Copy out test driverless binaries from bazel-bin/. |