Depend on the nbd module being loaded
[nbd.git] / support / genver.sh
blob75538f0a83082a2a8be5c801598baf4e5c0e3a06
1 #!/bin/sh
3 GITDESC=$(git describe --dirty|sed -e 's/nbd-//' 2>/dev/null)
5 if [ -z "$GITDESC" ]; then
6 GITDESC="0.unknown"
7 fi
9 echo $GITDESC