提交 c1dd1467 编写于 作者: V Vladimir Chebotarev 提交者: GitHub

libcommon: Build was fixed. [#METRIQA-600]

上级 b72ecc38
...@@ -8,7 +8,7 @@ function get_revision { ...@@ -8,7 +8,7 @@ function get_revision {
BASEDIR=`dirname "$0"` BASEDIR=`dirname "$0"`
CURDIR=`pwd` CURDIR=`pwd`
cd ${BASEDIR} cd ${BASEDIR}
git rev-parse --git-dir 2>/dev/null || cd ${CURDIR} git rev-parse --git-dir >/dev/null 2>/dev/null || cd ${CURDIR}
git fetch --tags git fetch --tags
git tag | tag_filter | tail -1 | sed 's/^v1\.1\.\(.*\)-testing$/\1/' git tag | tag_filter | tail -1 | sed 's/^v1\.1\.\(.*\)-testing$/\1/'
cd ${CURDIR} cd ${CURDIR}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册