diff --git a/version.sh b/version.sh index 9439702..8ac015e 100755 --- a/version.sh +++ b/version.sh @@ -6,10 +6,11 @@ if [ $LOCALVER \> 1 ] ; then if [ $VER != $LOCALVER ] ; then VER="$VER+$(($LOCALVER-$VER))" elif git status | grep -q "modified:" ; then - VER="${VER}M" + VER="${VER}bm" fi VER="$VER $(git rev-list HEAD -n 1 | head -c 7)" echo "#define X264_VERSION \" r$VER\"" >> config.h + VER=`echo $VER | sed -e 's/[^0-9].*//'` else echo "#define X264_VERSION \"\"" >> config.h VER="x"