[pulseaudio-commits] git-version-gen

Arun Raghavan arun at kemper.freedesktop.org
Fri Sep 27 20:59:00 PDT 2013


 git-version-gen |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55f4b771c74b7b4035b0264fd58cd18a1a82d4b2
Author: Anton Lundin <glance at acc.umu.se>
Date:   Wed Sep 18 16:20:42 2013 +0200

    build-sys: Support building pulseaudio as a submodule
    
    When pulseaudio is a submodule, .git is a file.
    
    Signed-off-by: Anton Lundin <glance at acc.umu.se>

diff --git a/git-version-gen b/git-version-gen
index 9d65b80..724da66 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



More information about the pulseaudio-commits mailing list