Changeset 11297 for trunk/ippScripts/scripts/phase0_exp.pl
- Timestamp:
- Jan 25, 2007, 2:55:43 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase0_exp.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase0_exp.pl
r11151 r11297 30 30 'caches' => \$cache, 31 31 'exp_tag|e=s' => \$exptag, 32 'dbname|d=s' => \$dbname,# Database name 32 33 'no-update' => \$no_update 33 34 ) or pod2usage( 2 ); … … 96 97 { 97 98 my $command = "$p0tool -processedimfile -exp_tag $exptag"; 99 $command .= " -dbname $dbname" if defined $dbname; 98 100 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 99 101 cache_run(command => $command, verbose => 1); … … 199 201 } 200 202 203 push @command, "-dbname", $dbname if defined $dbname; 204 201 205 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 202 206 cache_run(command => \@command, verbose => 1); … … 243 247 my $exit_code = $_[1]; 244 248 if ($exp_tag) { 245 system ("$p0tool -addprocessedexp -exp_tag $exp_tag -code $exit_code"); 249 my $command = "$p0tool -addprocessedexp -exp_tag $exp_tag -code $exit_code"; 250 $command .= " -dbname $dbname" if defined $dbname; 251 system($command); 246 252 } 247 253 exit $exit_code;
Note:
See TracChangeset
for help on using the changeset viewer.
