Changeset 26976 for main/trunk/greenstone2/bin/script
- Timestamp:
- 2013-03-04T17:25:51+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/buildcol.pl
r26567 r26976 690 690 } 691 691 692 693 # for RSS support: Need rss-items.rdf file in index folder 694 # check if a file called rss-items.rdf exists in archives, then copy it into the building folder 695 # so that when building is moved to index, this file will then also be in index as desired 696 my $collection_dir = &util::resolve_collection_dir($collectdir, $collection, $site); 697 my $rss_items_rdf_file = &util::filename_cat($archivedir, "rss-items.rdf"); 698 if(defined $builddir && -d $builddir && -f $rss_items_rdf_file) { 699 &gsprintf($out, "{buildcol.copying_rss_items_rdf}\n") if ($verbosity >= 1); 700 &util::cp ($rss_items_rdf_file, $builddir); 701 } 702 692 703 # if buildcol.pl was run with -activate, need to run activate.pl 693 704 # now that building's complete … … 716 727 } 717 728 } 718 729 719 730 close OUT if $close_out; 720 731 close FAILLOG;
Note:
See TracChangeset
for help on using the changeset viewer.