mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: Support building pulseaudio as a submodule
When pulseaudio is a submodule, .git is a file. Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
9de7519d16
commit
55f4b771c7
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ fi
|
|||
if test -n "$v"
|
||||
then
|
||||
: # use $v
|
||||
elif test -d .git \
|
||||
elif test -e .git \
|
||||
&& v=`git describe --abbrev=4 --match='v[0-9]*' HEAD 2>/dev/null` \
|
||||
&& [ -n "$v" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue