Changeset 28087


Ignore:
Timestamp:
2013-08-19T23:35:28+12:00 (11 years ago)
Author:
davidb
Message:

Minor tweak to the formatting of the message produced about the RSS file generated by buildcol.pl

Location:
main/trunk/greenstone2/perllib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/buildcolutils.pm

    r28060 r28087  
    2727
    2828package buildcolutils;
     29
     30use File::Basename;
    2931
    3032use colcfg;
     
    717719    if ($self->{'verbosity'} >= 1)
    718720    {
    719       &gsprintf::gsprintf($self->{'out'}, "{buildcol.copying_rss_items_rdf}\n");
     721    my $archivedir_tail = "'".basename($self->{'archivedir'})."'";
     722    my $builddir_tail =  "'".basename($self->{'builddir'})."'";
     723
     724    &gsprintf::gsprintf($self->{'out'}, "{buildcol.copying_rss_items_rdf}\n", $archivedir_tail, $builddir_tail);
    720725    }
    721726    &FileUtils::copyFiles($rss_items_rdf_file, $self->{'builddir'});
  • main/trunk/greenstone2/perllib/strings.properties

    r27698 r28087  
    8787buildcol.copying_back_cached_build:Copying back the cached build
    8888
    89 buildcol.copying_rss_items_rdf:Copying rss-items.rdf file from archives to building (eventually to index)
     89buildcol.copying_rss_items_rdf:Copying rss-items.rdf file from %s to %s
    9090
    9191buildcol.create_images:Attempt to create default images for new collection. This relies on the Gimp being installed along with relevant perl modules to allow scripting from perl.
Note: See TracChangeset for help on using the changeset viewer.