diff options
| author | Hank Leininger (AI Agent Signing Key) | 2026-10-25 22:23:38 -0600 |
|---|---|---|
| committer | rfjakob | 2026-10-28 09:12:39 +0100 |
| commit | 3ebd75bc0427a543e524185e0802da5779ba622c (patch) | |
| tree | 7882e24f5da6c47b6dc192ed0263ececc6ba1367 | |
| parent | a8b36f0ad9cca0bc605ba5104ff99b2866cee0db (diff) | |
In a git worktree, .git is a file rather than a directory, so the
version came out as "[unknown]".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rwxr-xr-x | build.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ go version > /dev/null GOPATH1=$(go env GOPATH | cut -f1 -d:) # gocryptfs version according to git or a VERSION file -if [[ -d .git ]] ; then +if [[ -e .git ]] ; then GITVERSION=$(git describe --tags --dirty || echo "[no_tags_found]") GITBRANCH=$(git rev-parse --abbrev-ref HEAD) if [[ -n $GITBRANCH && $GITBRANCH != master ]] ; then |
