#!/bin/bash # debs need to be version-tagged, so we make a snapshot first, then # build the debs from the snapshot. EXT="tar.gz" SNAP=`bin/dist-snapshot -d` tar zxf $SNAP.$EXT pushd $SNAP dpkg-buildpackage -rfakeroot popd rm -rf $SNAP.$EXT rm -rf $SNAP