Index: trunk/ippScripts/scripts/camera_exp.pl
===================================================================
--- trunk/ippScripts/scripts/camera_exp.pl	(revision 12800)
+++ trunk/ippScripts/scripts/camera_exp.pl	(revision 13090)
@@ -180,5 +180,5 @@
     # run psastro +mosastro on the set of chips
     # XXX note that this is wrong if imfiles are cells
-    if (@$files > 1) {
+    if (scalar @$files > 1) {
 	my $command = "$psastro -list $list3Name $outputRoot +mosastro -chipastro";
 	my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
@@ -190,5 +190,5 @@
 	&my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $fpaObjects;
     } else {
-	$fpaObjects = $chipObjects;
+	system "cp $chipObjects $fpaObjects";
     }
 
