Ignore:
Timestamp:
2011-12-09T16:25:34+13:00 (12 years ago)
Author:
ak19
Message:

First set of changes to do with migration of cgi-bin into common-src, so that upon make install, common-src\cgi-bin will be installed in cgi-bin\GSDLOS(GSDLARCH). After this commit (to do with the contents of the files), cgi-bin itself will be moved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/cgi-bin/gsdlCGI.pm

    r23796 r24872  
    495495    $self->{'library_url_suffix'} = $library_url;
    496496
    497     unshift(@INC, "$ENV{'GSDLHOME'}/cgi-bin"); # This is OK on Windows
     497    my $cgibin = "cgi-bin/$ENV{'GSDLOS'}";
     498    $cgibin = $cgibin.$ENV{'GSDLARCH'} if defined $ENV{'GSDLARCH'};
     499
     500    unshift(@INC, "$ENV{'GSDLHOME'}/$cgibin"); # This is OK on Windows
    498501    unshift(@INC, "$ENV{'GSDLHOME'}/perllib");
    499502    unshift(@INC, "$ENV{'GSDLHOME'}/perllib/cpan");
Note: See TracChangeset for help on using the changeset viewer.