Index: trunk/ippScripts/scripts/dist_advancerun.pl
===================================================================
--- trunk/ippScripts/scripts/dist_advancerun.pl	(revision 28536)
+++ trunk/ippScripts/scripts/dist_advancerun.pl	(revision 28735)
@@ -122,9 +122,16 @@
 $tool_cmd .= " $stage_id";
 
+my $exportarg = '-exportrun';
+if ($stage eq 'chip_bg') {
+    $exportarg = '-exportchip';
+} elsif ($stage eq 'warp_bg') {
+    $exportarg = '-exportwarp';
+}
+
 # XXX should we create a file rule for this?
 my $dbinfo_file = "$outdir/dbinfo.$stage.$stage_id.mdc";
 
 {
-    my $command = "$tool_cmd -exportrun -outfile $dbinfo_file";
+    my $command = "$tool_cmd $exportarg -outfile $dbinfo_file";
     $command .= " -clean" if ((defined $clean) and ($stage ne "raw"));
     $command .= " -dbname $dbname" if defined $dbname;
