Index: /branches/pap_mops/ippScripts/scripts/publish_file.pl
===================================================================
--- /branches/pap_mops/ippScripts/scripts/publish_file.pl	(revision 25230)
+++ /branches/pap_mops/ippScripts/scripts/publish_file.pl	(revision 25231)
@@ -82,4 +82,5 @@
 if ($stage eq 'camera') {
     my $command =  "camtool -processedexp -cam_id $stage_id";
+    $command .= " -dbname $dbname" if defined $dbname;
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
         run(command => $command, verbose => $verbose);
@@ -102,4 +103,5 @@
 } elsif ($stage eq 'diff') {
     my $command =  "difftool -diffskyfile -diff_id $stage_id";
+    $command .= " -dbname $dbname" if defined $dbname;
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
         run(command => $command, verbose => $verbose);
