~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/packaging/build-packages.sh

  • Committer: Martin Packman
  • Date: 2011-11-24 17:01:07 UTC
  • mto: This revision was merged to the branch mainline in revision 6304.
  • Revision ID: martin.packman@canonical.com-20111124170107-b3yd5vkzdglmnjk7
Allow a bracketed suffix in option help test

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# Helper to build packages for the various distributions
 
3
 
 
4
if [ -z "$UBUNTU_RELEASES" ]; then
 
5
    echo "Configure the distro platforms that you want to"
 
6
    echo "build with a line like:"
 
7
    echo '  export UBUNTU_RELEASES="dapper feisty gutsy hardy intrepid jaunty"'
 
8
    exit 1
 
9
fi
 
10
 
 
11
for DISTRO in $UBUNTU_RELEASES; do
 
12
    (cd "$PACKAGE-$DISTRO" && bzr builddeb -S)
 
13
done