~stefanor/ubuntu-dev-tools/sponsor-list

« back to all changes in this revision

Viewing changes to sponsor-patch

  • Committer: Stefano Rivera
  • Date: 2010-08-23 10:23:34 UTC
  • Revision ID: stefanor@ubuntu.com-20100823102334-dyr3pnqzjkqfq74y
sponsor-patch: Use bzr-builddeb to build branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
530
530
                        Print.info("Failed to update timetamp in debian/changelog.")
531
531
 
532
532
                # Build source package
533
 
                cmd = ["debuild", "--no-lintian", "-S"]
 
533
                if patch:
 
534
                        cmd = ['debuild', '--no-lintian', '-S']
 
535
                elif branch:
 
536
                        cmd = ['bzr', 'bd', '-S', '--', '--no-lintian']
534
537
                previous_version = task.get_previous_version()
535
538
                cmd.append("-v" + previous_version.full_version)
536
539
                if previous_version.upstream_version == changelog.upstream_version \