~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/packaging/update-changelogs.sh

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 06:15:33 UTC
  • mfrom: (5025.1.6 331095-malloc)
  • Revision ID: pqm@pqm.ubuntu.com-20100211061533-5glf4faoutadhql9
(mbp) avoid malloc(0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
 
# Helper to insert a new entry in debian/changelog
3
2
 
4
3
if [ -z "$UBUNTU_RELEASES" ]; then
5
4
    echo "Configure the distro platforms that you want to"
28
27
    (
29
28
        echo "Updating changelog for $DISTRO"
30
29
        cd "$PACKAGE-$DISTRO" &&
31
 
            dch -v $PPAVERSION -D $DISTRO "$MSG." &&
 
30
            dch -v $PPAVERSION -D $DISTRO -c changelog "$MSG." &&
32
31
            bzr commit -m "$MSG: $PPAVERSION"
33
32
    )
34
33
done