summaryrefslogtreecommitdiffstats
blob: cc657b2e29d0d51b82ced16160b103da5b084c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

export PYTHONPATH=../../../BuildTools/SCons
VERSION=`../../../BuildTools/GetBuildVersion.py swift`
DIRNAME=swift-$VERSION

rm -rf $DIRNAME
git clone ../../../.git $DIRNAME
ln -s Swift/Packaging/Debian/debian $DIRNAME/debian

cd $DIRNAME
echo $PWD
dpkg-buildpackage -rfakeroot -i -I