Changeset 24103
- Timestamp:
- 2011-05-31T16:27:41+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r24093 r24103 413 413 # formulate the command 414 414 my $cmd = ""; 415 $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl");415 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 416 416 $cmd .= "$full_perl_path -S ppttohtml.pl "; 417 417 $cmd .= " \"$input_filename\" \"$output_filestem.html\""; … … 447 447 # formulate the command 448 448 my $cmd = ""; 449 $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl");450 $cmd .= "$full_perl_p erl-S xlstohtml.pl ";449 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 450 $cmd .= "$full_perl_path -S xlstohtml.pl "; 451 451 $cmd .= " \"$input_filename\" \"$output_filestem.html\""; 452 452 $cmd .= " 2>\"$output_filestem.err\"" … … 986 986 my $cmd = ""; 987 987 if ($timeout) {$cmd = "ulimit -t $timeout;";} 988 $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl");988 my $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl"); 989 989 $cmd .= "$full_perl_path -S pdftohtml.pl -zoom $pdf_zoom"; 990 990 $cmd .= " -c" if ($pdf_complex); … … 1061 1061 if ($timeout) {$cmd = "ulimit -t $timeout;";} 1062 1062 $output_type =~ s/.*\_(.*)/$1/i; 1063 $full_perl_path = &util::filename_cat($ENV{'PERLPATH'},"perl");1064 $cmd .= "$full_perl_p erl-S pdfpstoimg.pl -convert_to $output_type \"$input_filename\" \"$output_filestem\"";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\""; 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.