summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2015-12-12 01:00:57 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-14 22:52:49 +0100
commit69bbfacd25c6bdd289cecef0ad6b9568a6f0bf0e (patch)
tree7f6a923888969e10a642fe77601f0cfe42375195 /util
parent16ff807ba6444a0eea02c8929b73a5c3701ec16d (diff)
downloadcoreboot-69bbfacd25c6bdd289cecef0ad6b9568a6f0bf0e.tar.xz
msrtool/configure: change svn to git
Change-Id: I212e44fc7edfd1458b04fb42a8e964a3367dd72d Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/12710 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/msrtool/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/msrtool/configure b/util/msrtool/configure
index 1d87b6f42a..0606f4b8b9 100755
--- a/util/msrtool/configure
+++ b/util/msrtool/configure
@@ -18,7 +18,7 @@
# revision number of the checked out files.
VERSION=""
-REV="`svnversion -c . 2>/dev/null | sed 's,.*:,,' 2>/dev/null`"
+REV="`git describe --always 2>/dev/null`"
VERSION="${VERSION:-$REV}"
findprog() {