Changeset 23516

Show
Ignore:
Timestamp:
21.12.2010 22:31:11 (9 years ago)
Author:
davidb
Message:

Additional check added to ensure GLIServer.jar file exists, and issues an error message if not.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/cgi-bin/talkback-transfer.pl

    r23482 r23516  
    9393    my $java_classpath = &util::filename_cat($jar_dir,"GLIServer.jar"); 
    9494 
     95    if (!-f $java_classpath) { 
     96    $gsdl_cgi->generate_error("Failed to find $java_classpath"); 
     97    } 
     98 
    9599    my $zip_file = "$collect-$timestamp.zip"; 
    96100    my $zip_file_path = &util::filename_cat($archive_dir,$zip_file);