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