Revision 491a85fe135be2c495f1fe1c8ad6252af8e15c2c authored by Felix Ruess on 25 September 2013, 16:31:14 UTC, committed by Felix Ruess on 25 September 2013, 20:59:37 UTC
by using new ecef_of_enu_pos_i functions which have enu in meter with INT32_POS_FRAC and ecef with cm
instead of everything in cm
1 parent b2b4474
Raw File
paparazzi_version
#!/bin/sh

DEF_VER=v5.0.1_stable

# First try git describe (if running on a git repo),
# then use default version from above (for release tarballs).
if test -d .git -o -f .git
then
	GIT_VN=$(git describe --match "v[0-9].[0-9]*" --dirty --always --long)
    if echo "$GIT_VN" | grep -Eq "^v[0-9].[0-9]"
    then
        VN="$GIT_VN"
    else
        VN="$DEF_VER"-none-g"$GIT_VN"
    fi
else
	VN="$DEF_VER"
fi

echo $VN
back to top