meson: fix get-version script for git worktrees
For git worktree directories .git is not a directory but a file that points to the real .git dir.
Please register or sign in to comment
For git worktree directories .git is not a directory but a file that points to the real .git dir.