Skip to content

Commit

Permalink
Item8087: repair pdf generator
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/PublishPlugin@3280 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Mar 26, 2009
1 parent d133352 commit 47265fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/PublishPlugin/pdf.pm
Expand Up @@ -43,13 +43,13 @@ sub close {
die "{PublishPlugin}{PDFCmd} not defined" unless $cmd;

my $landed = "$this->{web}.pdf";
my @extras = split( /\s+/, $this->{genopt} );
my @extras = split( /\s+/, $this->{genopt} || '' );

$ENV{HTMLDOC_DEBUG} = 1; # see man htmldoc - goes to apache err log
$ENV{HTMLDOC_NOCGI} = 1; # see man htmldoc

die "Could not find sandbox" unless $sb;
my ( $data, $exit ) = $Foswiki::Sandbox->sysCommand(
my ( $data, $exit ) = Foswiki::Sandbox::sysCommand(
undef,
$cmd,
FILE => "$this->{path}$landed",
FILES => \@files,
Expand Down

0 comments on commit 47265fa

Please sign in to comment.