updated packaging script to follow new versioning system

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6878 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-27 22:13:18 +00:00
parent bd0b1a5ac5
commit e04283f3af

View File

@ -77,15 +77,15 @@ fi
echo Setting version numbers...
# setup version numbers
cat $workdir/src/libretroshare/src/util/rsversion.h | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
cat $workdir/src/libretroshare/src/util/rsversion.cc | 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.h
cp /tmp/toto2342 $workdir/src/libretroshare/src/util/rsversion.cpp
cat $workdir/src/retroshare-gui/src/util/rsversion.h | grep -v GUI_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto4463
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
echo \#define SVN_REVISION_NUMBER $svn >> /tmp/toto4463
cp /tmp/toto4463 $workdir/src/retroshare-gui/src/util/rsversion.h
cp /tmp/toto4463 $workdir/src/retroshare-gui/src/util/rsguiversion.cpp
# Various cleaning