Changeset 1115 in ProjectBuilder


Ignore:
Timestamp:
Nov 26, 2010, 12:54:28 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4056@localhost: bruno | 2010-11-25 19:38:07 +0100

  • Fix a bug in pb_system when using redirctions in the command
Location:
devel/pb-modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf.pod

    r1111 r1115  
    576576 Nature: Optional
    577577 Key: project (as defined in the -p option or PBPROJ environment variable)
    578  Value: Target directory containing the web content in the project that should be delivered when using the web2ssh command of pb.
     578 Value: Target directory containing the web content in the project that should be delivered when using the sbx|cms2webssh|pkg command of pb.
    579579 Conffile: project
    580580 Example: webdir mondorescue = website
  • devel/pb-modules/lib/ProjectBuilder/Base.pm

    r1077 r1115  
    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 =~ /\>/);
    150153system("$cmd $redir");
    151154my $res = $?;
Note: See TracChangeset for help on using the changeset viewer.