Changeset 35895
- Timestamp:
- Aug 6, 2013, 10:59:55 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/tools/rundiffskycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/rundiffskycell.pl
r33065 r35895 25 25 26 26 my $dbname = "gpc1"; 27 my ($diff_id, $skycell_id, $threads, $update, $no_redirect );27 my ($diff_id, $skycell_id, $threads, $update, $no_redirect, $outdir); 28 28 my $zaplog; 29 29 … … 33 33 'threads=i' => \$threads, 34 34 'no-redirect-output' => \$no_redirect, 35 'outdir=s' => \$outdir, 35 36 'zaplog' => \$zaplog, 36 37 'update' => \$update, … … 64 65 die "path_base not found\n" if !$path_base; 65 66 die "diff_skyfile_id\n" if !$path_base; 67 68 if ($outdir) { 69 if ($outdir eq '.') { 70 $outdir = $ENV{PWD}; 71 } 72 my $base = basename($path_base); 73 $path_base = "$outdir/$base"; 74 } 66 75 67 76 my $command = "diff_skycell.pl --diff_id $diff_id --skycell_id $skycell_id --diff_skyfile_id $diff_skyfile_id --outroot $path_base --run-state new";
Note:
See TracChangeset
for help on using the changeset viewer.
