fixed auto revision update.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6892 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-11-05 23:17:05 +00:00
parent 7be86dc0e9
commit 8f690333d6

View File

@ -77,10 +77,10 @@ fi
echo Setting version numbers...
# setup version numbers
cat $workdir/src/libretroshare/src/util/rsversion.cc | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
cat $workdir/src/libretroshare/src/util/rsversion.h | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
echo \#define SVN_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto2342
echo \#define SVN_REVISION_NUMBER $svn >> /tmp/toto2342
cp /tmp/toto2342 $workdir/src/libretroshare/src/util/rsversion.cpp
cp /tmp/toto2342 $workdir/src/libretroshare/src/util/rsversion.h
cat $workdir/src/retroshare-gui/src/util/rsguiversion.cc | grep -v GUI_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto4463
echo \#define GUI_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto4463