Fix revision for native git instead of git svn
This commit is contained in:
parent
5155ddfc3f
commit
a4575aa13e
2
refine
2
refine
@ -209,7 +209,7 @@ get_revision() {
|
|||||||
if [ -d ".svn" ] ; then
|
if [ -d ".svn" ] ; then
|
||||||
INFO=`svn info`
|
INFO=`svn info`
|
||||||
elif [ -d ".git" ] ; then
|
elif [ -d ".git" ] ; then
|
||||||
INFO=`git svn info`
|
INFO=`git describe`
|
||||||
else
|
else
|
||||||
error "cannot obtain revision, exiting!"
|
error "cannot obtain revision, exiting!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user