diff options
author | Adin Scannell <ascannell@google.com> | 2020-11-23 11:03:28 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-23 11:05:23 -0800 |
commit | 5212b4f7b28ddea466ccb50085da2b0368029d19 (patch) | |
tree | a0c762af5c552246d9110b63ee7241e833fd2d46 | |
parent | 60ae6c4d83d432ff5b352a649757c7bd92073053 (diff) |
Don't rely on HOME for tools/go_branch.sh
PiperOrigin-RevId: 343885770
-rwxr-xr-x | tools/go_branch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/go_branch.sh b/tools/go_branch.sh index 71d036b12..768a37b9a 100755 --- a/tools/go_branch.sh +++ b/tools/go_branch.sh @@ -39,7 +39,7 @@ declare tmp_dir tmp_dir=$(mktemp -d) readonly tmp_dir finish() { - cd # Leave tmp_dir. + cd / # Leave tmp_dir. rm -rf "${tmp_dir}" } trap finish EXIT |