documentation: avoid prepended character on version string

This commit is contained in:
Tom Henderson
2019-01-07 13:21:55 -08:00
parent 2d28afb767
commit 10b6f9daff

View File

@@ -152,7 +152,7 @@ elif [ $tag -eq 1 ]; then
vers_href=
else
version=`git describe HEAD --tags | cut -c 9- | cut -d '-' -f 2`
version=`git describe HEAD --tags | cut -c 9- | cut -d '-' -f 2 | cut -c 2-`
# Check for uncommitted changes
changes=0
if [ "$(git status --porcelain)" ]; then