1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh VERSION=`../../../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