mirror of https://github.com/tailscale/tailscale/
version: relax git detection logic (again)
This is a repeat of commit 3aa68cd397
which was lost in a rework of version.sh.
git worktrees have a .git file rather than a .git directory, so building
in a worktree caused version.sh to generate an error.
Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
pull/997/head
parent
bce865b61b
commit
943860fde7
Loading…
Reference in New Issue