Changeset 16746 for trunk/ippScripts/scripts/ipp_serial_stack.pl
- Timestamp:
- Feb 28, 2008, 4:35:57 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_serial_stack.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_stack.pl
r16336 r16746 27 27 my ($dbname, # Database name to use 28 28 $verbose, # Verbose operations? 29 $workdir_global, # Global working directory 29 30 $no_op, # No operations? 30 31 $no_update, # No updating? … … 34 35 'dbname=s' => \$dbname, 35 36 'verbose' => \$verbose, 37 'workdir' => \$workdir_global, 36 38 'no-op' => \$no_op, 37 39 'no-update' => \$no_update, … … 75 77 my $workdir = $item->{workdir}; 76 78 77 my $command = "$stack_skycell --stack_id $stack_id --dbname $dbname"; 79 $workdir = $workdir_global unless defined $workdir and $workdir ne "NULL"; 80 die "No working directory specified.\n" unless defined $workdir; 81 82 my $outroot = caturi( $workdir, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.stk.$stack_id" ); 83 84 my $command = "$stack_skycell --stack_id $stack_id --dbname $dbname --outroot $outroot"; 78 85 $command .= " --verbose" if defined $verbose; 79 86 $command .= " --no-op" if defined $no_op; 80 87 $command .= " --no-update" if defined $no_update; 81 88 $command .= " --save-temps" if defined $save_temps; 82 $command .= " --workdir $workdir" if defined $workdir;83 89 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 84 90 run( command => $command, verbose => 1 );
Note:
See TracChangeset
for help on using the changeset viewer.
