Changeset 24164
- Timestamp:
- 2011-06-15T21:28:38+12:00 (12 years ago)
- Location:
- main/trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r24124 r24164 789 789 $ENV{'GSDLOS'}, "word2html"); 790 790 791 $vbScript = "word2html" if ($ENV{'GSDLOS'} =~ m/^windows$/i); 791 if ($ENV{'GSDLOS'} =~ m/^windows$/i) { 792 # if windows scripting with docx input, use new VBscript 793 if($input_filename =~ m/docx$/i) { 794 $vbScript = "docx2html.vbs"; 795 } else { # use the usual word2html conversion VB executable 796 $vbScript = "word2html"; 797 } 798 } 799 792 800 if (-e "$output_filestem.html") { 793 801 print STDERR " The conversion file:\n"; … … 811 819 if (system($cmd)!=0) 812 820 { 813 print STDERR "Error executing word2Htmlconverter:$!\n";821 print STDERR "Error executing $vbScript converter:$!\n"; 814 822 if (-s "$output_filestem.err") { 815 823 open (ERRFILE, "<$output_filestem.err");
Note:
See TracChangeset
for help on using the changeset viewer.