From de49a34b0b7e7fa9534086ab94af64786b9ecaa3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 2 Feb 2022 05:17:09 +0100 Subject: configure: Prevent wrong version string generation (e.g. when doing a shallow checkout from git) --- git-version-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-version-gen b/git-version-gen index 6feac34..b403fce 100755 --- a/git-version-gen +++ b/git-version-gen @@ -5,7 +5,7 @@ if test -n "$1"; then else if test -d "${SRCDIR}/.git" && test -x "`which git`" ; then git update-index -q --refresh - VER=`git describe --tags --always --dirty=-dirty` + VER=`git describe --tags --dirty=-dirty` else if test -f "${SRCDIR}/.tarball-version"; then VER=`cat "${SRCDIR}/.tarball-version"` -- cgit v1.1-32-gdbae