summaryrefslogtreecommitdiff
path: root/tools/packaging/build-packages.sh
blob: be94ef05295fe702f1d965edf12f09fdb8810cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Helper to build packages for the various distributions

if [ -z "$UBUNTU_RELEASES" ]; then
    echo "Configure the distro platforms that you want to"
    echo "build with a line like:"
    echo '  export UBUNTU_RELEASES="dapper feisty gutsy hardy intrepid jaunty"'
    exit 1
fi

for DISTRO in $UBUNTU_RELEASES; do
    (cd "$PACKAGE-$DISTRO" && bzr builddeb -S)
done