Changeset 16398
- Timestamp:
- 2008-07-14T19:41:21+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/g2futil.pm
r16395 r16398 292 292 # The top of this file has already made sure that FEDORA_HOME is set, but for GS3 293 293 # CATALINA_HOME is set to GS' own tomcat. Since we'll be working with fedora, we need 294 # to temporarily set CATALINA_HOME to fedora's tomcat :294 # to temporarily set CATALINA_HOME to fedora's tomcat. (Catalina is undefined for GS2). 295 295 my $gs_catalina_home = $ENV{'CATALINA_HOME'}; 296 $ENV{'CATALINA_HOME'} = &util::filename_cat($ENV{'FEDORA_HOME'}, "tomcat"); 296 if(defined $gs_catalina_home) { 297 $ENV{'CATALINA_HOME'} = &util::filename_cat($ENV{'FEDORA_HOME'}, "tomcat"); 298 } 297 299 298 300 # 1. Find out which folder to write to: fedora_host or localhost … … 376 378 } 377 379 378 # reset CATALINA_HOME to GS' Tomcat: 379 $ENV{'CATALINA_HOME'} = $gs_catalina_home; 380 380 # reset CATALINA_HOME to GS' Tomcat (it is undefined for GS2 since GS2 has no tomcat): 381 if(defined $gs_catalina_home) { 382 $ENV{'CATALINA_HOME'} = $gs_catalina_home; 383 } 384 381 385 # Starting up the Fedora server takes a long time. We need to wait for the server to be 382 386 # 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.