summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-02 05:17:09 +0100
committerGravatar Nikias Bassen2022-02-02 05:17:09 +0100
commitde49a34b0b7e7fa9534086ab94af64786b9ecaa3 (patch)
tree33b0751fa91a1bade6bc69d0661357c500c33dfa
parentd7758c07ec8200d20c68384b291ca9e948802e92 (diff)
downloadlibplist-de49a34b0b7e7fa9534086ab94af64786b9ecaa3.tar.gz
libplist-de49a34b0b7e7fa9534086ab94af64786b9ecaa3.tar.bz2
configure: Prevent wrong version string generation (e.g. when doing a shallow checkout from git)
-rwxr-xr-xgit-version-gen2
1 files changed, 1 insertions, 1 deletions
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"`