diff options
author | Matthias Maennich <maennich@google.com> | 2021-11-21 15:27:27 +0000 |
---|---|---|
committer | Matthias Maennich <maennich@google.com> | 2021-11-22 17:35:22 +0000 |
commit | beb9109a195483e8cdcd2d3f6acdea35e38d87c5 (patch) | |
tree | 32656689ea2ad477c9e53956525132b2ecd9f362 /interceptor/log.proto | |
parent | 39c66e24d1e52dc13a0384762622428c6a6aa286 (diff) | |
download | build-tools-beb9109a195483e8cdcd2d3f6acdea35e38d87c5.tar.gz |
interceptor: record root dir in log
That is required to reconstruct the full working dir again later.
The root dir is either deducted from the environment ($ROOT_DIR) or is
cwd() of the interceptor process otherwise.
Bug: 205731786
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I12d826d7459a83864ecd024d85c801f1011aee87
Diffstat (limited to 'interceptor/log.proto')
-rw-r--r-- | interceptor/log.proto | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interceptor/log.proto b/interceptor/log.proto index fc9e31d..e339878 100644 --- a/interceptor/log.proto +++ b/interceptor/log.proto @@ -35,5 +35,6 @@ message Message { // The entirety of a the final log should be stored as just this Log. message Log { - repeated Command commands = 1; + string root_dir = 1; // ${ROOT_DIR} or cwd() if unset + repeated Command commands = 2; } |