Changeset 2651 for trunk


Ignore:
Timestamp:
2001-07-12T22:39:32+12:00 (23 years ago)
Author:
jrm21
Message:

pnmtopng was failing due to spaces in filenames on windows. Also need to
replace \s with
s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/pdftohtml.pl

    r2599 r2651  
    146146    $line =~ s#</b><b>##g;
    147147    $line =~ s#</i><i>##g;
     148    $line =~ s#\\#\\\\#g;
    148149    print OUTFILE $line;
    149150    }
     
    169170    my $cmd = "";
    170171    if ($ENV{'GSDLOS'} =~ /^windows/i) {
    171         $cmd = "pnmtopng $image";
     172        $cmd = "pnmtopng \"$image\"";
    172173        if (system($cmd)!=0) {
    173174        print STDERR "Error executing $cmd\n";
Note: See TracChangeset for help on using the changeset viewer.