Changeset 31942 for trunk/tools/runwarpskycell.pl
- Timestamp:
- Jul 27, 2011, 3:49:26 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/runwarpskycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/runwarpskycell.pl
r31941 r31942 85 85 $command .= " --verbose" unless $no_verbose; 86 86 $command .= " --dbname $dbname" if $dbname; 87 87 $command .= " --zaplog" if $zaplog; 88 88 89 89 if ($update) { … … 104 104 105 105 exit 0 if $pretend; 106 107 # XXX: implement this in warp_skycell.pl108 if ($zaplog) {109 my $logfile = $path_base . ".log";110 my $cmd = "neb-mv $logfile $logfile.trash";111 print "$cmd\n";112 my $rc = system $cmd;113 if ($rc) {114 my $status = $rc >> 8;115 print STDERR "neb-mv failed with $rc $status\n";116 exit $status;117 }118 }119 120 106 121 107 exit system $command;
Note:
See TracChangeset
for help on using the changeset viewer.
