Nicolas Morey-Chaisemartin wrote:
Le 26/04/2009 16:44, Yevgeny Kliteynik a écrit :
diff --git a/ibdiag/src/Makefile.am b/ibdiag/src/Makefile.am
index def8b0a..d32d914 100644
--- a/ibdiag/src/Makefile.am
+++ b/ibdiag/src/Makefile.am
@@ -42,7 +42,7 @@ GIT=$(shell which git)
git_version.tcl : @MAINTAINER_MODE_TRUE@ FORCE
if test x$(GIT) != x ; then \
- gitver=`cd $(srcdir) ; git-log | head -1 | cut -f2 -d\ `; \
+ gitver=`cd $(srcdir) ; rev-parse --verify HEAD`; \
changes=`cd $(srcdir) ; git diff . | grep ^diff | wc -l`; \
else \
gitver=undefined; changes=0; \
I think you forgot a git in front of rev-parse here
Indeed, thanks. Fixed.
-- Yevgeny
Nicolas
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general