mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 19:45:35 +00:00
6d3c10579e
This updates breakglass to use the now-upsteamed https://github.com/gokrazy/breakglass/pull/18 change so we're not using our fork now. It also adds a gok wrapper tool, because doing it by hand was tedious. Updates #1866 Change-Id: Ifacbf5fbf0e377b3bd95c5f76c18751c2e1af7d7 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
9 lines
199 B
Bash
Executable File
9 lines
199 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This is a wrapper around gok that sets --parent_dir.
|
|
|
|
dir=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
cd $dir
|
|
$dir/../tool/go run github.com/gokrazy/tools/cmd/gok --parent_dir="$dir" "$@"
|