Changeset 179
- Timestamp:
- 12/22/05 14:32:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/bin/obsdata
- Property cvs2svn:cvs-rev changed from 1.16 to 1.17
r178 r179 30 30 'h|help' => sub { pod2usage(-exitval => 0) }, 31 31 'i' => \my $interactif, 32 'only-new' => \my $onlynew, 33 'only-old' => \my $onlyold, 32 34 ) or pod2usage(); 33 35 … … 76 78 my ($oa, $oe) = @_; 77 79 for ($oe->id) { 80 /^do_archive$/ and do { 81 if ($onlyold && !$oe->test_result('archive_exists')) { 82 return 0; 83 } 84 if($onlynew && $oe->test_result('archive_exists')) { 85 return 0 86 } 87 }; 78 88 /^overwrite$/ && !$oe->test_result('dest_exists') and return 1; 79 89 }
Note: See TracChangeset
for help on using the changeset viewer.