Ignore:
Timestamp:
2005-08-30T12:04:32+12:00 (19 years ago)
Author:
mdewsnip
Message:

Changed the JAVA_HOME warning so it is only displayed if something goes wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/upload

    r10583 r10584  
    9090    close(ZOUT);
    9191
    92     my $java = $gsdl_cgi->check_for_java();
     92    my $java = $gsdl_cgi->get_java_path();
    9393
    9494    my $classpath = &util::filename_cat($gsdlhome,"bin","java",
     
    106106        $status = $status/256;
    107107        my $exit_status = "Exit status: $status\n";
    108         my $mess = "Java failed: $java_cmd\n--\n$java_output\n$exit_status";
     108        my $mess = "Java failed: $java_cmd\n--\n$java_output\n$exit_status\n" . $gsdl_cgi->check_java_home();
    109109        $gsdl_cgi->generate_error($mess);
    110110    }
Note: See TracChangeset for help on using the changeset viewer.