Skip to content
Snippets Groups Projects
Commit 9c7f5947 authored by Lina Versace's avatar Lina Versace Committed by Emil Velikov
Browse files

mesa: Fix generation of git_sha1.h.tmp for gitlinks


Don't assume that $(top_srcdir)/.git is a directory. It may be a
gitlink file [1] if $(top_srcdir) is a submodule checkout or a linked
worktree [2].

[1] A "gitlink" is a text file that specifies the real location of
    the gitdir.
[2] Linked worktrees are a new feature in Git 2.5.

Cc: "10.6, 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit 75784243)
parent 9e62e1a1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment