Changeset 1120 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Dec 4, 2010, 2:46:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Base.pm
r1115 r1120 148 148 unlink("$ENV{'PBTMP'}/system.log") if (-f "$ENV{'PBTMP'}/system.log"); 149 149 $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.log151 # as you won't get the redirection working as expected152 $redir = "" if ($cmd =~ /\>/);153 150 system("$cmd $redir"); 154 151 my $res = $?;
Note:
See TracChangeset
for help on using the changeset viewer.