Don't rely on HOME for tools/go_branch.sh

PiperOrigin-RevId: 343885770
This commit is contained in:
Adin Scannell
2020-11-23 11:05:23 -08:00
committed by gVisor bot
parent 60ae6c4d83
commit 5212b4f7b2
+1 -1
View File
@@ -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