Changeset 16407
- Timestamp:
- 2008-07-15T13:13:16+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/g2futil.pm
r16406 r16407 288 288 # CATALINA_HOME is set to GS' own tomcat. Since we'll be working with fedora, we need 289 289 # to temporarily set CATALINA_HOME to fedora's tomcat. (Catalina is undefined for GS2). 290 my $gs_catalina_home = $ENV{'CATALINA_HOME'}; 291 if(defined $gs_catalina_home) { 292 $ENV{'CATALINA_HOME'} = &util::filename_cat($ENV{'FEDORA_HOME'}, "tomcat"); 293 } 294 290 my $gs_catalina_home = $ENV{'CATALINA_HOME'} if defined $ENV{'CATALINA_HOME'}; 291 $ENV{'CATALINA_HOME'} = &util::filename_cat($ENV{'FEDORA_HOME'}, "tomcat"); 292 295 293 # 1. Find out which folder to write to: fedora_host or localhost 296 294 # whichever contains fedora.xml is the one we want (if none, exit with error value?) … … 374 372 375 373 # reset CATALINA_HOME to GS' Tomcat (it is undefined for GS2 since GS2 has no tomcat): 376 if(defined $gs_catalina_home) { 377 $ENV{'CATALINA_HOME'} = $gs_catalina_home; 378 } 379 374 $ENV{'CATALINA_HOME'} = $gs_catalina_home if defined $gs_catalina_home; 375 380 376 # Starting up the Fedora server takes a long time. We need to wait for the server to be 381 377 # ready before import can continue, because g2f-import relies on an up-and-running Fedora
Note:
See TracChangeset
for help on using the changeset viewer.