We use 'git describe' to generate the GITVERSION. However if the repository has no tags for some reason that fails, and generates no output. We should use 'git describe --always' which will fall back to just printing the abbreviated SHA1 if there are no tags available. --- configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 804860b..90694d7 100755 --- a/configure.sh +++ b/configure.sh @@ -201,7 +201,7 @@ rm -f "$TMP" "$TMP.log" "$TMP.c" ############################################################################################# if [ "$DEVEL" == "1" ]; then - VER=$(git describe) + VER=$(git describe --always) echo "#define GITVERSION \""$VER\" >> config.h fi -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html