Changeset 24163 for branches/pap_magic/ippScripts/scripts/magic_process.pl
- Timestamp:
- May 12, 2009, 8:05:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_magic/ippScripts/scripts/magic_process.pl
r24149 r24163 258 258 my $resolved = $ipprc->file_resolve($streaks_file); 259 259 260 my $fh; 261 open $fh, "<$resolved" or 262 &my_die("failed to open streaks file $streaks_file", $magic_id, $node, $PS_EXIT_UNKNOWN_ERROR); 263 # the first line in the streaks file contains the number of streaks found 264 my $num_streaks = <$fh>; 265 chomp $num_streaks; 266 close $fh; 267 print "$num_streaks streaks found on magicRun $magic_id\n" if $verbose; 260 my $num_streaks = -1; 261 unless ($no_op) { 262 my $fh; 263 open $fh, "<$resolved" or 264 &my_die("failed to open streaks file $streaks_file", $magic_id, $node, $PS_EXIT_UNKNOWN_ERROR); 265 # the first line in the streaks file contains the number of streaks found 266 $num_streaks = <$fh>; 267 chomp $num_streaks; 268 close $fh; 269 print "$num_streaks streaks found on magicRun $magic_id\n" if $verbose; 270 } 268 271 269 272 my $command = "$magictool -addmask";
Note:
See TracChangeset
for help on using the changeset viewer.
