Add the "r" number at the end of the version if we're in a SVN tree
This commit was SVN r965.
Этот коммит содержится в:
родитель
60dc2b7bbe
Коммит
46d0f47357
@ -32,10 +32,13 @@ else
|
||||
LAM_VERSION="${LAM_VERSION}b$LAM_BETA_VERSION"
|
||||
fi
|
||||
|
||||
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"
|
||||
if test "`expr $LAM_SVN_VERSION \> 0`" = "1"; then
|
||||
if test -d .svn; then
|
||||
ver="r`svn info . | grep Revision | cut -d\ -f 2`"
|
||||
else
|
||||
ver="svn`date '+%m%d%Y'`"
|
||||
fi
|
||||
LAM_VERSION="${LAM_VERSION}$ver"
|
||||
fi
|
||||
|
||||
if test "$option" = ""; then
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user