#!/bin/sh

##
## Generate Gophernicus version/build number
##

DEFAULT=99

if which git >/dev/null && test -d .git; then
	git log | grep -c "^commit"
else
	echo $DEFAULT
fi