Changeset 24124
- Timestamp:
- 2011-06-08T16:04:52+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r24103 r24124 414 414 my $cmd = ""; 415 415 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 416 $cmd .= " $full_perl_path-S ppttohtml.pl ";416 $cmd .= "\"$full_perl_path\" -S ppttohtml.pl "; 417 417 $cmd .= " \"$input_filename\" \"$output_filestem.html\""; 418 418 $cmd .= " 2>\"$output_filestem.err\"" … … 448 448 my $cmd = ""; 449 449 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 450 $cmd .= " $full_perl_path-S xlstohtml.pl ";450 $cmd .= "\"$full_perl_path\" -S xlstohtml.pl "; 451 451 $cmd .= " \"$input_filename\" \"$output_filestem.html\""; 452 452 $cmd .= " 2>\"$output_filestem.err\"" … … 987 987 if ($timeout) {$cmd = "ulimit -t $timeout;";} 988 988 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 989 $cmd .= " $full_perl_path-S pdftohtml.pl -zoom $pdf_zoom";989 $cmd .= "\"$full_perl_path\" -S pdftohtml.pl -zoom $pdf_zoom"; 990 990 $cmd .= " -c" if ($pdf_complex); 991 991 $cmd .= " -i" if ($pdf_ignore_images); … … 1062 1062 $output_type =~ s/.*\_(.*)/$1/i; 1063 1063 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 1064 $cmd .= " $full_perl_path-S pdfpstoimg.pl -convert_to $output_type \"$input_filename\" \"$output_filestem\"";1064 $cmd .= "\"$full_perl_path\" -S pdfpstoimg.pl -convert_to $output_type \"$input_filename\" \"$output_filestem\""; 1065 1065 if ($ENV{'GSDLOS'} !~ m/^windows$/i || $is_winnt_2000) { 1066 1066 $cmd .= " > \"$output_filestem.out\" 2> \"$output_filestem.err\"";
Note:
See TracChangeset
for help on using the changeset viewer.