Whamcloud - gitweb
util: add get-var script
authorTheodore Ts'o <tytso@mit.edu>
Fri, 18 Mar 2016 20:29:19 +0000 (16:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 18 Mar 2016 20:29:19 +0000 (16:29 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
util/get-ver [new file with mode: 0755]

diff --git a/util/get-ver b/util/get-ver
new file mode 100755 (executable)
index 0000000..ade7d22
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ver=$(git describe --always --dirty); echo "e2fsprogs  $ver ($(git log -1 --pretty=%cD))"
+