From e04283f3af62db4b141a832c69ae9d67d5db7631 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 27 Oct 2013 22:13:18 +0000 Subject: [PATCH] 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 --- build_scripts/Ubuntu_src/makeSourcePackage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_scripts/Ubuntu_src/makeSourcePackage.sh b/build_scripts/Ubuntu_src/makeSourcePackage.sh index 23aaf4fd4..7ebcc2019 100755 --- a/build_scripts/Ubuntu_src/makeSourcePackage.sh +++ b/build_scripts/Ubuntu_src/makeSourcePackage.sh @@ -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