Changeset 28755 for main/trunk/greenstone2
- Timestamp:
- 2013-12-09T18:41:35+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r28518 r28755 120 120 # for GS3, set gsdl_root_dir to GSDL3HOME 121 121 if($module eq "gs3interface"){ 122 $gsdl_root_directory = (defined $ENV{'GSDL3HOME'}) ? $ENV{'GSDL3HOME'} : &util::filename_cat($ENV{'GSDL3SRCHOME'}, "web"); 123 $gti_log_file = &util::filename_cat($gsdl_root_directory, "logs", "gti.log"); 122 if($ENV{'GSDL3SRCHOME'}) { 123 $gsdl_root_directory = (defined $ENV{'GSDL3HOME'}) ? $ENV{'GSDL3HOME'} : &util::filename_cat($ENV{'GSDL3SRCHOME'}, "web"); 124 $gti_log_file = &util::filename_cat($gsdl_root_directory, "logs", "gti.log"); 125 } 124 126 } 125 127 … … 331 333 my ($source_file, $target_file, $translation_file_type) 332 334 = &get_translation_configuration($target_language_code, $translation_file_key); 333 335 334 336 # Parse the source language and target language files 335 337 my $source_file_path = &util::filename_cat($gsdl_root_directory, $source_file); … … 1827 1829 &throw_fatal_error("Missing command argument."); 1828 1830 } 1829 1831 1830 1832 my %source_files_key_to_text_mapping = (); 1831 1833 my %target_files_key_to_text_mapping = (); … … 1900 1902 $source_files_key_to_gti_comment_mapping, $target_files_key_to_gti_comment_mapping) = @_; 1901 1903 1902 my $source_file_directory = &util::filename_cat("WEB-INF","classes"); # my $source_file_directory = "greenstone3";1904 my $source_file_directory = "greenstone3"; # my $source_file_directory = &util::filename_cat("WEB-INF","classes"); 1903 1905 my $translation_file_type = "resource_bundle"; 1904 1906
Note:
See TracChangeset
for help on using the changeset viewer.