From bf627c4fcc8f3d8d3e05cbd1e301218f09e08ede Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Thu, 27 Oct 2011 13:47:07 +0200 Subject: [PATCH] =?utf8?q?$userspath=20nicht=20an=20das=20aktuelle=20Verze?= =?utf8?q?ichnis=20anh=C3=A4ngen,=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit da vorher schon in $userspath gewechselt wurde. --- SL/Template/LaTeX.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index f38d7fb2a..2df7e8cfb 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -388,7 +388,7 @@ sub convert_to_postscript { my $latex = $self->_get_latex_path(); my $old_home = $ENV{HOME}; my $old_openin_any = $ENV{openin_any}; - $ENV{HOME} = $userspath =~ m|^/| ? $userspath : getcwd() . "/" . $userspath; + $ENV{HOME} = $userspath =~ m|^/| ? $userspath : getcwd(); $ENV{openin_any} = "p"; for (my $run = 1; $run <= 2; $run++) { @@ -437,7 +437,7 @@ sub convert_to_pdf { my $latex = $self->_get_latex_path(); my $old_home = $ENV{HOME}; my $old_openin_any = $ENV{openin_any}; - $ENV{HOME} = $userspath =~ m|^/| ? $userspath : getcwd() . "/" . $userspath; + $ENV{HOME} = $userspath =~ m|^/| ? $userspath : getcwd(); $ENV{openin_any} = "p"; for (my $run = 1; $run <= 2; $run++) { -- 2.39.5