Ignore:
Timestamp:
2008-07-14T14:27:24+12:00 (16 years ago)
Author:
ak19
Message:

Outputs FEDORA_HOME env vars if any are set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/WEB-INF/cgi/gliserver.pl

    r16362 r16376  
    141141    }
    142142    elsif ($cmd eq "upload-collection-file") {
    143     #print STDERR "CMD upload_collection_file\nusername: $username, site: $site, ts: $timestamp\n";
    144143    &upload_collection_file($gsdl_cgi, $username, $timestamp, $site);
    145144    }
     
    375374    $installation_status .= "JAVA_HOME: " . $ENV{'JAVA_HOME'} . "\n" if defined($ENV{'JAVA_HOME'}); # on GS2, Java's only on the PATH
    376375    $installation_status .= "PATH: " . $ENV{'PATH'} . "\n";
     376    $installation_status .= "FEDORA_HOME: ".$ENV{'FEDORA_HOME'} if defined($ENV{'FEDORA_HOME'});
    377377   
     378    if (defined $ENV{'FEDORA2_HOME'}) {
     379    $installation_status .= "\nFEDORA2_HOME: ".$ENV{'FEDORA2_HOME'}."\n";
     380    } elsif (defined $ENV{'FEDORA3_HOME'}) {
     381    $installation_status .= "\nFEDORA3_HOME: ".$ENV{'FEDORA3_HOME'}."\n";
     382    }
    378383
    379384    if ($installation_ok) { ## M. Dewsnip's svn log comment stated that for iis6_mode output needs to go to STDOUT
Note: See TracChangeset for help on using the changeset viewer.