/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Alexander Belchenko
  • Date: 2007-01-03 00:23:45 UTC
  • mto: This revision was merged to the branch mainline in revision 2219.
  • Revision ID: bialix@ukr.net-20070103002345-7guxku60a0vwsoya
Don't use os.path.split and os.path.splitext directly, only from osutils.

Because only '/' is used as separator of pathname components inside zip archives,
bzrlib.plugin.load_from_zips() uses custom split algorithm for handling filenames 
to import from zip.

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