mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Don't rely on HOME for tools/go_branch.sh
PiperOrigin-RevId: 343885770
This commit is contained in:
committed by
gVisor bot
parent
60ae6c4d83
commit
5212b4f7b2
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user