- Timestamp:
- 2014-04-15T16:40:41+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r28976 r28977 712 712 713 713 my $classpath = &util::filename_cat($gsdl_root_directory, "gti-lib"); 714 my $oldclasspath = $classpath; 714 715 if ( ! -e $classpath) { 715 &throw_fatal_error("$classpath doesn't exist! Need the files in this directory (ApplyXLST and its related files) to create the zip file for GLI Help"); 716 } 717 716 $classpath = &util::filename_cat($gsdl_root_directory, "gli", "shared"); 717 } 718 if ( ! -e $classpath) { 719 &throw_fatal_error("$classpath doesn't exist! (Neither does $oldclasspath.) Need the files in this directory (ApplyXLST and its related files) to create the zip file for GLI Help"); 720 } 721 718 722 my $gli_help_directory = &util::filename_cat($gsdl_root_directory, "gli"); 719 723 $gli_help_directory = &util::filename_cat($gli_help_directory, "help"); … … 744 748 $response = `$cmd`; 745 749 746 my $zip_file_path = "/greenstone/custom/gti/" . $target_language_code . "_GLIHelp.zip"; 750 #my $zip_file_path = "/greenstone/custom/gti/" . $target_language_code . "_GLIHelp.zip"; 751 my $zip_file_path = &util::filename_cat($gsdl_root_directory, $target_language_code . "_GLIHelp.zip"); 747 752 $cmd = "zip -rj $zip_file_path $target_file_directory -i \*.htm \*.xml"; 748 753 $response = `$cmd`;
Note:
See TracChangeset
for help on using the changeset viewer.