1
0
Fork 0

(svn r10057) -Fix (r10051): git version detection didn't work for mingw/msys

release/0.6
glx 2007-06-07 13:40:20 +00:00
parent 622a4d10b9
commit b73cd3c12d
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ else
# Are we a git dir?
ifeq ($(shell if test -d $(SRC_DIR)/../.git; then echo 1; fi), 1)
# Find the revision like: rXXXXM
REV := g$(shell if head=`git rev-parse --verify HEAD 2>/dev/null`; then echo "$$head" | cut -c1-8; fi)$(shell if git diff-index HEAD | read dummy; then echo M; fi)$(shell git branch|grep '*'|sed 's/\* /-/;s/^-master$$//')
REV := g$(shell if head=`git rev-parse --verify HEAD 2>/dev/null`; then echo "$$head" | cut -c1-8; fi)$(shell if git diff-index HEAD | read dummy; then echo M; fi)$(shell git branch|grep '[*]'|sed 's/\* /-/;s/^-master$$//')
endif
endif
endif