mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
0e2c4266fa
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
28 lines
907 B
Bash
Executable File
28 lines
907 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo This script will
|
|
echo - remove the directory retroshare-0.5/
|
|
echo - remove existing sources packages in the current directory
|
|
echo - build a new source package from the svn
|
|
echo - rebuild the source package for the karmic i386 arch.
|
|
echo
|
|
|
|
echo attempting to get svn revision number...
|
|
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
|
echo Revision number is $svn.
|
|
|
|
echo Type ^C to abort, or enter to continue
|
|
read tmp
|
|
|
|
#rm -rf ./retroshare-0.5
|
|
# ./makeSourcePackage.sh
|
|
|
|
#for dist in maverick natty; do
|
|
for dist in oneiric karmic lucid maverick natty; do
|
|
pbuilder-dist "$dist" build retroshare_0.5.3-0."$svn"~"$dist".dsc
|
|
cp /home/csoler/pbuilder/"$dist"_result/retroshare_0.5.3-0."$svn"~"$dist"_amd64.deb .
|
|
pbuilder-dist "$dist" i386 build retroshare_0.5.3-0."$svn"~"$dist".dsc
|
|
cp /home/csoler/pbuilder/"$dist"-i386_result/retroshare_0.5.3-0."$svn"~"$dist"_i386.deb .
|
|
done
|
|
|