diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-09-18 16:20:42 +0200 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-09-28 09:27:30 +0530 |
commit | 55f4b771c74b7b4035b0264fd58cd18a1a82d4b2 (patch) | |
tree | 9860b4c43301fc9a4239090bcf6a4dfe4c86586b /git-version-gen | |
parent | 9de7519d162230b11fa71903d261acb15c5c3eb8 (diff) |
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>
Diffstat (limited to 'git-version-gen')
-rwxr-xr-x | git-version-gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-version-gen b/git-version-gen index 9d65b8009..724da666e 100755 --- a/git-version-gen +++ b/git-version-gen @@ -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 |