Index: trunk/ippScripts/scripts/warp_overlap.pl
===================================================================
--- trunk/ippScripts/scripts/warp_overlap.pl	(revision 12106)
+++ trunk/ippScripts/scripts/warp_overlap.pl	(revision 12218)
@@ -99,6 +99,9 @@
 }
 
+$workdir = File::Spec->catfile( $workdir, "warp$warp_id" );
+system "mkdir -p $workdir" unless -d $workdir;
+
 # Generate a MDC file with the overlaps
-my $overlapName = File::Spec->catfile( $workdir, $warp_id . '.overlap.mdc' );
+my $overlapName = File::Spec->catfile( $workdir, 'overlap.mdc' );
 open my $overlapFile, "> $overlapName" or die "Unable to open mdc file $overlapName";
 print $overlapFile "warpSkyCellMap MULTI\n\n";
