Commit 55f4b771 authored by Anton Lundin's avatar Anton Lundin Committed by Arun Raghavan

build-sys: Support building pulseaudio as a submodule

When pulseaudio is a submodule, .git is a file.
Signed-off-by: default avatarAnton Lundin <glance@acc.umu.se>
parent 9de7519d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment