Changeset 31189 for main/trunk
- Timestamp:
- 2016-12-09T21:28:50+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/inexport.pm
r30517 r31189 484 484 # Since this wasted my morning, let's at least warn a user that manifest 485 485 # files now *only* work if keepold is set [jmt12] 486 if ($self->{'manifest'} && !$self->{'keepold'})486 if ($self->{'manifest'} && (!$keepold || !$incremental)) 487 487 { 488 488 print STDERR "Warning: -manifest flag should not be specified without also setting -keepold or -incremental\n"; … … 812 812 # need to check this file exists before trying to read it - in the past 813 813 # it wasn't possible to have a manifest unless keepold was also set so 814 # you were pretty much guar enteed arcinfo existed814 # you were pretty much guaranteed arcinfo existed 815 815 # [jmt12] 816 816 # @todo &FileUtils::fileExists($arcinfo_src_filename) [jmt12] … … 874 874 } 875 875 } 876 } 876 } # end if (manifest ne "") 877 877 else { 878 878 # if incremental, we read through the import folder to see whats changed. … … 933 933 934 934 } 935 } 936 } 935 } # end if incremental/only_add mode 936 # else no manifest AND not incremental 937 } # end if else block of manifest ne "" else eq "" 937 938 938 939 # Check for existence of the file that's to contain earliestDateStamp in archivesdir
Note:
See TracChangeset
for help on using the changeset viewer.