util: add get-var script

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2016-03-18 16:29:19 -04:00
parent e1eee3e13e
commit 855c5e0dfb

4
util/get-ver Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
ver=$(git describe --always --dirty); echo "e2fsprogs $ver ($(git log -1 --pretty=%cD))"