projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d31a3
)
[configure] get git revision from xbmc git root
author
Vladlen Y. Koshelev
<vlad.kosh@gmail.com>
Mon, 3 Feb 2014 09:23:59 +0000
(13:23 +0400)
committer
Vladlen Y. Koshelev
<vlad.kosh@gmail.com>
Mon, 3 Feb 2014 09:23:59 +0000
(13:23 +0400)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
2056ee1
..
ef59b93
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-759,7
+759,7
@@
AC_CHECK_PROG(HAVE_GIT,git,"yes","no",)
if test "$GIT_REV" = ""; then
if test -f VERSION ; then
GIT_REV=$(awk 'END{print substr($1,1,16)}' VERSION)
- elif test "$HAVE_GIT" = "yes"; then
+ elif test "$HAVE_GIT" = "yes"
-a -d $(abs_top_srcdir)/.git
; then
GIT_REV=$(git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
else
GIT_REV="Unknown"