[PATCH] Makefile.in: recent git versions do not accept dashed commands

Christian Ebert <[email protected]> Wed, 22 Oct 2008 14:08:33 +0200
Newsgroups gmane.comp.gnu.screen
Organization Black Trash Productions <http://www.blacktrash.org/>
Message-ID <20081022120833.GH5526__15679.7448675663$1238089115$gmane$org@krille.blacktrash.org>
Hello,

A small corrections to Makefile.in so "git describe" works with
recent versions of git.

c


diff --git a/src/Makefile.in b/src/Makefile.in
index d8ee8d2..1841f71 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -23,7 +23,7 @@ VERSION = @VERSION@
 SCREEN = screen-$(VERSION)
 
 GIT = which git
-GIT_REV = "`git-describe --always 2>/dev/null`"
+GIT_REV = "`git describe --always 2>/dev/null`"
 DEFS = @DEFS@ -DGIT_REV=\"$(GIT_REV)\"
 
 ETCSCREENRC = $(prefix)/etc/screenrc