~ubuntu-branches/ubuntu/natty/sbuild/natty-updates

« back to all changes in this revision

Viewing changes to bin/buildd-watcher

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-05-14 23:13:17 UTC
  • mfrom: (8.1.12 upstream) (3.3.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100514231317-hw1e0x09tefx3ocm
Tags: 0.60.0-1ubuntu1
* Merge from Debian unstable (LP: #580724), remaining changes:
  - Do not install debfoster into the chroots because it is in universe
    and not needed for package building itself.
* buildd: Declare Replaces and Breaks on ubuntu-dev-tools (<= 0.83) as
  both packages contain /usr/bin/buildd. (LP: #558461)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
use strict;
25
25
use warnings;
26
26
 
27
 
use Buildd qw(open_log close_log lock_file unlock_file);
28
27
use Buildd::Conf;
29
28
use Buildd::Watcher;
30
29
use Sbuild::OptionsBase;
36
35
my $watcher = Buildd::Watcher->new($conf);
37
36
exit 1 if !defined($watcher);
38
37
 
39
 
my $log = open_log($watcher->get('Config'));
40
 
$watcher->set('Log Stream', $log);
41
 
 
42
38
my $status = $watcher->run();
43
39
 
44
 
close_log($conf);
 
40
$watcher->close_log();
45
41
 
46
42
exit $status;
47
 
 
48
 
END { unlink( "watcher-running" ); }