scripts/getver.sh: simplify revision calculation
authorJonas Gorski <jonas.gorski@gmail.com>
Sat, 4 Jun 2016 16:35:21 +0000 (18:35 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 9 Jul 2016 11:41:28 +0000 (13:41 +0200)
commit575be9d18259560b40039ee0e4bf6d6ce109fca6
tree0936a8d840a37530a3d89c1de195189fcc6e4cce
parentc729fe02694a583d38ef6636837fce4b4b6fa8e8
scripts/getver.sh: simplify revision calculation

Use git rev-list --count to get the revision number.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
scripts/getver.sh