From: Bernd Bleßmann Date: Tue, 10 Jun 2014 10:30:32 +0000 (+0200) Subject: Template-Pfad vor regex quoten. X-Git-Tag: release-3.2.0beta~413 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=93c17c6784dbd9ee5b37476dc0fc44529486558b;p=kivitendo-erp.git Template-Pfad vor regex quoten. zu commit 6348bffb3ca90327f8dd042bfd0a89802b269b79 (Template-Pfad aus Pfad-Namen anderer Tex-Dateien richtig entfernen.) --- diff --git a/bin/mozilla/amtemplates.pl b/bin/mozilla/amtemplates.pl index 0622b0213..004563557 100644 --- a/bin/mozilla/amtemplates.pl +++ b/bin/mozilla/amtemplates.pl @@ -210,7 +210,7 @@ sub display_template_form { my $fname = $File::Find::name; # remove template dir from name - $fname =~ s|^$template_dir/||; + $fname =~ s|^\Q$template_dir\E/||; # remove .tex from name $fname =~ s|.tex$||;