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