updated scripts and README file for debian packaging

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7830 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-01-10 12:47:58 +00:00
parent c83d27924e
commit 90d9957ad7
2 changed files with 78 additions and 11 deletions

View file

@ -14,8 +14,6 @@ if test -d "$workdir" ; then
rm -rf $workdir
fi
svn update
# Parse options
svnrev=""
dist=""
@ -35,12 +33,25 @@ while [ $# -gt 0 ]; do
gpgkey=$1
shift
;;
"-h") shift
echo Package building script for debian/ubuntu distributions
echo Usage:
echo " "$0 '-key [PGP key id] -rev [svn revision number] -distribution [distrib name list with quotes, in (wheezy, sid, precise, saucy, etc)]'
exit 1
;;
"*") echo "Unknown option"
exit 1
;;
esac
done
echo " "Using PGP key id : $gpgkey
echo " "Using distributions: $dist
echo " "Using svn : $rev
echo Updating svn...
svn update
if test "$svnrev" = "" ; then
echo attempting to get svn revision number...
svnrev=`svn info | grep 'Revision:' | cut -d\ -f2`