diff --git a/build_scripts/Ubuntu_src/makeSourcePackage.sh b/build_scripts/Ubuntu_src/makeSourcePackage.sh index 7ebcc2019..91f38a21d 100755 --- a/build_scripts/Ubuntu_src/makeSourcePackage.sh +++ b/build_scripts/Ubuntu_src/makeSourcePackage.sh @@ -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