util: add get-var script

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian
Theodore Ts'o 2016-03-18 16:29:19 -04:00
parent e1eee3e13e
commit 855c5e0dfb
1 changed files with 4 additions and 0 deletions

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))"