blob: 011a16d9c731a83d9bcc0827f882f1de262e7887 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | #!/bin/bash
# $Id$
# Use this script to create the .orig.tar.gz and .diff.gz in the current
# directory
set -e
if [ -z "$1" ]; then
	echo -n "Need to specify path to right version, like "
	echo    "tags/releases/phpbb3/3.0.6-1" >&2
	echo    "or trunk/phpbb3" >&2
	exit 1
fi
mkdir export-sources.dir
cd export-sources.dir
echo Exporting...
mkdir tmp
cd tmp
svn export http://svn.wolffelaar.nl/phpbb/$1 debian
debian/rules get-orig-source
cd ..
GZIP=--best tar xzvf phpbb3_*.orig.tar.gz
mv tmp/debian phpbb3-*
rmdir tmp
dpkg-source -b phpbb3-*
 |