loader: Use plain binary name of git-describe to avoid junk in
version output.
Saulius Krasuckas
saulius.krasuckas at ieee.org
Thu Nov 9 12:05:19 CST 2006
Junk is generated by old versions of git (at least v1.0.4), which don't
support command "describe" and prints help to stdout instead.
---
loader/Makefile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/loader/Makefile.in b/loader/Makefile.in
index 94c2428..47a8629 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- at PACKAGE_VERSION@") | sed -e 's/\(.*\)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1)
+ (GIT_DIR=$(TOPSRCDIR)/.git git-describe 2>/dev/null || echo "wine- at PACKAGE_VERSION@") | sed -e 's/\(.*\)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1)
version.c: version-stamp
@cmp -s version-stamp $@ || cp version-stamp $@
--
1.4.3.3
More information about the wine-patches
mailing list