Index: trunk/ippScripts/scripts/camera_exp.pl
===================================================================
--- trunk/ippScripts/scripts/camera_exp.pl	(revision 13790)
+++ trunk/ippScripts/scripts/camera_exp.pl	(revision 13817)
@@ -41,4 +41,5 @@
 	   'dbname|d=s'        => \$dbname, # Database name
 	   'workdir|w=s'       => \$workdir, # Working directory
+	   'dvodb|w=s'         => \$dbodb,  # output DVO database
 	   'no-update'         => \$no_update, # Update the database?
 	   'no-op'             => \$no_op, # Don't do any operations?
@@ -155,4 +156,9 @@
 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT.MEF", $outputRoot); # MEF psastro output
 
+# convert supplied DVO database name to UNIX filename
+if (defined $dvodb) {
+    my $dvodbReal = $ipprc->convert_filename_absolute( $dvodb );
+}
+
 unless ($no_op) {
 
@@ -179,4 +185,9 @@
 	my $camdir = $ipprc->dvo_cameradir(); # Camera directory for addstar
 	my $command = "addstar -D CAMERA $camdir " . $ipprc->file_resolve($fpaObjects);
+	
+	if (define $dvodbReal) {
+	    my $command .= " -D CATDIR $dvodbReal";
+	}
+
 	my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
 	    run(command => $command, verbose => 1);
