From 06566a534737f7741c05677ccdc50b5f951aa16f Mon Sep 17 00:00:00 2001 From: Saulius Krasuckas Date: Thu, 9 Nov 2006 20:05:19 +0200 Subject: [PATCH] loader: Use plain binary name of git-describe to avoid junk in version output. --- loader/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/Makefile.in b/loader/Makefile.in index 94c2428c5fe..47a86292eca 100644 --- a/loader/Makefile.in +++ b/loader/Makefile.in @@ -61,7 +61,7 @@ clean:: $(RM) $(WINE_BINARIES) $(MODULE) version.c version-stamp version-stamp: dummy - (GIT_DIR=$(TOPSRCDIR)/.git git describe 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -e 's/\(.*\)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1) + (GIT_DIR=$(TOPSRCDIR)/.git git-describe 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -e 's/\(.*\)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1) version.c: version-stamp @cmp -s version-stamp $@ || cp version-stamp $@