Changeset 31942
- Timestamp:
- Jul 27, 2011, 3:49:26 PM (15 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
-
runchipimfile.pl (modified) (2 diffs)
-
runwarpskycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/runchipimfile.pl
r31941 r31942 84 84 $command .= " --verbose" unless $no_verbose; 85 85 $command .= " --dbname $dbname" if $dbname; 86 $command .= " --zaplog" if $zaplog; 86 87 87 88 if ($update) { … … 102 103 103 104 exit 0 if $pretend; 104 105 # XXX: implement this in chip_imfile.pl106 if ($zaplog) {107 my $logfile = $path_base . ".$class_id.log";108 my $cmd = "neb-mv $logfile $logfile.trash";109 print "$cmd\n";110 my $rc = system $cmd;111 if ($rc) {112 my $status = $rc >> 8;113 print STDERR "neb-mv failed with $rc $status\n";114 exit $status;115 }116 }117 105 118 106 exit system $command; -
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.
