Changeset 26549
- Timestamp:
- Jan 8, 2010, 4:12:52 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_cleanup.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_cleanup.pl
r25837 r26549 190 190 # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same. 191 191 my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool"; 192 $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 192 $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 193 $command .= " -dbname $dbname" if defined $dbname; 193 194 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 194 195 run(command => $command, verbose => $verbose); … … 309 310 # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same. 310 311 my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool"; 311 $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 312 $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 313 $command .= " -dbname $dbname" if defined $dbname; 312 314 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 313 315 run(command => $command, verbose => $verbose); … … 444 446 # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same. 445 447 my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool"; 446 $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 448 $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 449 $command .= " -dbname $dbname" if defined $dbname; 447 450 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 448 451 run(command => $command, verbose => $verbose); … … 580 583 # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same. 581 584 my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool"; 582 $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 585 $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 586 $command .= " -dbname $dbname" if defined $dbname; 583 587 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 584 588 run(command => $command, verbose => $verbose); … … 732 736 # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same. 733 737 my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool"; 734 $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 738 $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned"; 739 $command .= " -dbname $dbname" if defined $dbname; 735 740 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 736 741 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
