about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-10-04T17·55-0700
committerclbot <clbot@tvl.fyi>2022-10-04T18·01+0000
commit5b3a1011e244dc4b3593dfffcf5134aae139d166 (patch)
tree359bbf27e7c173b5d7f8e9110c9f8068b1e7f781
parentee0657c2929a77d58dc9f37381c3f0c044ff2d64 (diff)
feat(wpcarro/envrc): Add REPO_ROOT r/5029
Some commit removed this, and I didn't notice.

Change-Id: I6686282fd3c0d2569120b5687ecdfdc04367fe1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6864
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--users/wpcarro/.envrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/wpcarro/.envrc b/users/wpcarro/.envrc
index b23a41fbd7a4..3e1e1a35f013 100644
--- a/users/wpcarro/.envrc
+++ b/users/wpcarro/.envrc
@@ -1,3 +1,5 @@
 source_up
+
 export PATH="${PWD}/bin:${PATH}"
+export REPO_ROOT=$(git rev-parse --show-toplevel)
 export WPCARRO="${REPO_ROOT}/users/wpcarro"