tailscale/tool/gocross
David Anderson d27a6e1c53 tool/gocross: fix incorrect relpath usage in bootstrap script
The subshell in which gocross gets built cd's to the corp checkout dir
near the top, so all future references to corp repository files should
be simple relative paths, and not reference $repo_root. When $repo_root
is an absolute path, it doesn't matter and everything works out, but on
some OSes and shells and invocations, $repo_root is a completely relative
path that is invalidated by the "cd".

Fixes tailscale/corp#11183

Signed-off-by: David Anderson <danderson@tailscale.com>
2023-05-09 16:19:46 -07:00
..
autoflags.go tool/gocross: add ts_macext build tag for Xcode builds 2023-04-11 11:27:26 -07:00
autoflags_test.go tool/gocross: add ts_macext build tag for Xcode builds 2023-04-11 11:27:26 -07:00
env.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
env_test.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
exec_other.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
exec_unix.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
gocross-wrapper.sh tool/gocross: fix incorrect relpath usage in bootstrap script 2023-05-09 16:19:46 -07:00
gocross.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
goroot.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
toolchain.go tool/gocross: support running from outside the repo dir 2023-03-20 15:01:58 -07:00