1
1

Merge branch '1905_versioning_fix'

* 1905_versioning_fix:
  Ticket #1905: fix of version calculation.
Этот коммит содержится в:
Andrew Borodin 2010-01-11 09:36:54 +00:00
родитель 103241e397 ec8bab205b
Коммит 65f7b35e2f

Просмотреть файл

@ -22,7 +22,7 @@ AC_DEFUN([MC_VERSION],[
DISTR_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'` DISTR_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'`
DISTR_RELEASE=`echo $VERSION | sed 's/^[[^\-]]*\-\(.*\)/\1/' | sed 's/-/./g'` DISTR_RELEASE=`echo $VERSION | sed 's/^[[^\-]]*\-\(.*\)/\1/' | sed 's/-/./g'`
if `echo $VERSION | grep -c '\-pre'`; then if test `echo $VERSION | grep -c '\-pre'` -ne 0; then
DISTR_RELEASE="0.$DISTR_RELEASE" DISTR_RELEASE="0.$DISTR_RELEASE"
else else
if test `echo $VERSION | grep -c '\-'` -eq 0; then if test `echo $VERSION | grep -c '\-'` -eq 0; then