Changeset 1120 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm


Ignore:
Timestamp:
Dec 4, 2010, 2:46:48 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • remove the test on the '>' char in pb_stsem as there are too many false positive. Use "noredir" in pbinit of website instead.
  • Adds support for -t option to prepare a builbot or similar interface.
File:
1 edited

Legend:

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

    r1115 r1120  
    148148unlink("$ENV{'PBTMP'}/system.log") if (-f "$ENV{'PBTMP'}/system.log");
    149149$redir = "2>> $ENV{'PBTMP'}/system.log 1>> $ENV{'PBTMP'}/system.log" if ((! defined $verbose) || ($verbose ne "noredir"));
    150 # If there is a redirection in the command, then do not redirect in system.log
    151 # as you won't get the redirection working as expected
    152 $redir = "" if ($cmd =~ /\>/);
    153150system("$cmd $redir");
    154151my $res = $?;
Note: See TracChangeset for help on using the changeset viewer.