Changeset 117 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Base.pm


Ignore:
Timestamp:
Sep 7, 2007, 7:25:22 PM (17 years ago)
Author:
Bruno Cornec
Message:

Better src printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Base.pm

    r116 r117  
    189189
    190190print "$cmt... ";
    191 system("$cmd 2>&1 > $ENV{'PBTMP'}/system.log");
     191#system("$cmd 2>&1 > $ENV{'PBTMP'}/system.log");
     192system("$cmd");
    192193if ($? == -1) {
    193194    print "failed to execute ($cmd) : $!\n";
     
    208209my $file=shift;
    209210
    210 open(FILE,"$file") || die "Unable to open $file";
     211return if (not -f $file);
     212open(FILE,"$file");
    211213while (<FILE>) {
    212214    print $_;
Note: See TracChangeset for help on using the changeset viewer.