Changeset 10445 for trunk/gsdl/bin/script/gsConvert.pl
- Timestamp:
- 2005-08-09T10:59:24+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gsConvert.pl
r10401 r10445 225 225 } 226 226 227 # Attempt specialised conversion to HTML228 #if (!$output_type || ($output_type =~ /html/i)) {229 # $success = &doc_to_html($input_filename, $output_filestem);230 # if ($success) {231 # return "html";232 # }233 # }234 235 227 return &convertAnything($input_filename, $output_filestem, $output_type); 236 228 } … … 570 562 571 563 $vbScript = "word2html" if ($ENV{'GSDLOS'} =~ /^windows$/i); 564 if (-e "$output_filestem.html") { 565 print STDERR "*** The conversion file has existed\n"; 566 return 1; 567 } 572 568 573 569 my $cmd = ""; 574 570 if ($timeout) {$cmd = "ulimit -t $timeout;";} 575 571 #$cmd .= "$vbScript \"$input_filename\" \"$output_filestem.html\""; 572 #$cmd .= "$vbScript $input_filename $output_filestem.html"; 576 573 $cmd .= "$vbScript $input_filename $output_filestem.html"; 577 574 578 575 # redirecting STDERR 579 576 $cmd .= " 2> \"$output_filestem.err\""
Note:
See TracChangeset
for help on using the changeset viewer.