added svn version number in build script

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@908 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-01-04 13:22:23 +00:00
parent d2e64551c2
commit 148f8e067c

View File

@ -1,11 +1,15 @@
#!/bin/sh #!/bin/sh
###################### PARAMETERS #################### ###################### PARAMETERS ####################
version="0.4.11b" version="0.4.11d"
arch=`dpkg --print-architecture` arch=`dpkg --print-architecture`
packager="Cyril Soler <csoler@users.sourceforge.net>" packager="Cyril Soler <csoler@users.sourceforge.net>"
###################################################### ######################################################
echo attempting to get svn revision number...
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
echo done.
version="$version"."$svn"
echo echo
echo Building retroshare debian package version $version for Ubuntu $arch. echo Building retroshare debian package version $version for Ubuntu $arch.
echo Please check that: echo Please check that: