Changeset 16308 for trunk/ippScripts/scripts/register_exp.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/register_exp.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_exp.pl
r16196 r16308 34 34 ); 35 35 36 my ($cache, $exp_id, $exp_tag, $dbname, $ no_update, $no_op);36 my ($cache, $exp_id, $exp_tag, $dbname, $verbose, $no_update, $no_op); 37 37 GetOptions( 38 38 'caches' => \$cache, … … 40 40 'exp_tag|t=s' => \$exp_tag, 41 41 'dbname|d=s' => \$dbname, # Database name 42 'verbose' => \$verbose, # Print to stdout 42 43 'no-update' => \$no_update, 43 44 'no-op' => \$no_op, … … 126 127 $command .= " -dbname $dbname" if defined $dbname; 127 128 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 128 cache_run(command => $command, verbose => 1);129 cache_run(command => $command, verbose => $verbose); 129 130 unless ($success) { 130 131 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 176 177 unless ($no_update) { 177 178 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 178 cache_run(command => $command, verbose => 1);179 cache_run(command => $command, verbose => $verbose); 179 180 unless ($success) { 180 181 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
