~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2005-06-01 06:09:59 UTC
  • Revision ID: mbp@sourcefrog.net-20050601060959-e0be99c26487bd63
Major rework of locking code:

- New ReadLock and WriteLock objects, with unlock methods, and that
  give a warning if they leak without being unlocked

- The lock file is opened readonly for read locks, which should avoid
  problems when the user only has read permission for a branch.

- Selective definitions of locking code is perhaps simpler now

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
# A helper script 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