Changeset 13817 for trunk/ippScripts/scripts/camera_exp.pl
- Timestamp:
- Jun 13, 2007, 4:53:48 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r13790 r13817 41 41 'dbname|d=s' => \$dbname, # Database name 42 42 'workdir|w=s' => \$workdir, # Working directory 43 'dvodb|w=s' => \$dbodb, # output DVO database 43 44 'no-update' => \$no_update, # Update the database? 44 45 'no-op' => \$no_op, # Don't do any operations? … … 155 156 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT.MEF", $outputRoot); # MEF psastro output 156 157 158 # convert supplied DVO database name to UNIX filename 159 if (defined $dvodb) { 160 my $dvodbReal = $ipprc->convert_filename_absolute( $dvodb ); 161 } 162 157 163 unless ($no_op) { 158 164 … … 179 185 my $camdir = $ipprc->dvo_cameradir(); # Camera directory for addstar 180 186 my $command = "addstar -D CAMERA $camdir " . $ipprc->file_resolve($fpaObjects); 187 188 if (define $dvodbReal) { 189 my $command .= " -D CATDIR $dvodbReal"; 190 } 191 181 192 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 182 193 run(command => $command, verbose => 1);
Note:
See TracChangeset
for help on using the changeset viewer.
