added SVN_REVISION to rsversion to not overwrite LIB_VERSION

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-12-16 21:54:46 +00:00
parent cfcd773d6e
commit e5cd917645
3 changed files with 9 additions and 3 deletions

View file

@ -23,7 +23,7 @@ fi
if [[ $version != '' ]]; then
version="$version date : $(date +'%T %m.%d.%y')"
echo "Writing version to util/rsversion.h : $version "
sed -i "s/LIB_VERSION .*/LIB_VERSION \"$version\"/g" util/rsversion.h
sed -i "s/SVN_REVISION .*/SVN_REVISION \"$version\"/g" util/rsversion.h
fi
echo "script version_detail.sh finished normally"
exit 0