Changeset 8
- Timestamp:
- 1998-11-17T14:22:19+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r4 r8 6 6 die "GSDLHOME not set\n" unless defined $ENV{'GSDLHOME'}; 7 7 die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'}; 8 unshift (@INC, "$ENV{'GSDLHOME'}/ lib");9 unshift (@INC, "$ENV{'GSDLHOME'}/ lib/plugins");8 unshift (@INC, "$ENV{'GSDLHOME'}/perllib"); 9 unshift (@INC, "$ENV{'GSDLHOME'}/perllib/plugins"); 10 10 } 11 11 … … 80 80 # if a builder class has been created for this collection, use it 81 81 # otherwise, use the mg builder 82 if (-e "$ENV{'GSDLHOME'}/collect/$collection/ lib/${collection}builder.pm") {83 $builderdir = "$ENV{'GSDLHOME'}/collect/$collection/ lib";82 if (-e "$ENV{'GSDLHOME'}/collect/$collection/perllib/${collection}builder.pm") { 83 $builderdir = "$ENV{'GSDLHOME'}/collect/$collection/perllib"; 84 84 $buildertype = "${collection}builder"; 85 85 } else { 86 $builderdir = "$ENV{'GSDLHOME'}/ lib";86 $builderdir = "$ENV{'GSDLHOME'}/perllib"; 87 87 $buildertype = "mgbuilder"; 88 88 }
Note:
See TracChangeset
for help on using the changeset viewer.