Match recent FreeBSD Makefile fix in dragonfly Makefile.
[xombrero.git] / buildver.sh
blob27dfd899973c62acd9e5bbdc87253b025077ad75
1 #!/bin/sh
3 CURDIR=$(dirname $0)
4 if [ -d "$CURDIR/.git" ]; then
5 cd "$CURDIR"
6 git describe --tags | tr -d '\n'
7 fi