diff --git a/VERSION b/VERSION index 9e5909a6aa..f8d92d89a0 100644 --- a/VERSION +++ b/VERSION @@ -3,4 +3,4 @@ minor=0 release=0 alpha=1 beta=0 -cvs=1 +svn=1 diff --git a/autogen.sh b/autogen.sh index 307cc1deef..76ff944273 100755 --- a/autogen.sh +++ b/autogen.sh @@ -505,7 +505,7 @@ EOF pd_ver_release="`echo $pd_ver | cut -d: -f4`" pd_ver_alpha="`echo $pd_ver | cut -d: -f5`" pd_ver_beta="`echo $pd_ver | cut -d: -f6`" - pd_ver_cvs="`echo $pd_ver | cut -d: -f7`" + pd_ver_svn="`echo $pd_ver | cut -d: -f7`" cat >> $pd_list_file < 0`" = "1"; then - LAM_VERSION="${LAM_VERSION}cvs$LAM_CVS_VERSION" + if test "$LAM_SVN_VERSION" = "1"; then + LAM_VERSION="${LAM_VERSION}svn" + elif test "`expr $LAM_SVN_VERSION \> 0`" = "1"; then + LAM_VERSION="${LAM_VERSION}svn$LAM_SVN_VERSION" fi if test "$option" = ""; then @@ -62,11 +62,11 @@ case "$option" in --beta) echo $LAM_BETA_VERSION ;; - --cvs) - echo $LAM_CVS_VERSION + --svn) + echo $LAM_SVN_VERSION ;; --all) - echo ${LAM_VERSION}:${LAM_MAJOR_VERSION}:${LAM_MINOR_VERSION}:${LAM_RELEASE_VERSION}:${LAM_ALPHA_VERSION}:${LAM_BETA_VERSION}:${LAM_CVS_VERSION} + echo ${LAM_VERSION}:${LAM_MAJOR_VERSION}:${LAM_MINOR_VERSION}:${LAM_RELEASE_VERSION}:${LAM_ALPHA_VERSION}:${LAM_BETA_VERSION}:${LAM_SVN_VERSION} ;; -h|--help) cat < [