Ignore:
Timestamp:
2008-07-18T15:26:04+12:00 (16 years ago)
Author:
ak19
Message:
  1. FEDORA_VERSION has become the secondary environment variable when running FLI. It has replaced FEDORA2_HOME/FEDORA3_HOME.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugouts/METSPlugout.pm

    r15013 r16462  
    198198    print $handle '           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n";
    199199    print $handle '           xmlns:gsdl3="http://www.greenstone.org/namespace/gsdlmetadata/1.0/"' . "\n";
    200     if ($ENV{'FEDORA2_HOME'}) {
    201     print $handle '           xmlns:xlink="http://www.w3.org/TR/xlink"' ."\n";
     200    if ($ENV{'FEDORA_VERSION'} =~ m/^2/) { # checking if major version is 2
     201        print $handle '           xmlns:xlink="http://www.w3.org/TR/xlink"' ."\n";
    202202    }
    203203    else {
Note: See TracChangeset for help on using the changeset viewer.