From 93c17c6784dbd9ee5b37476dc0fc44529486558b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 10 Jun 2014 12:30:32 +0200 Subject: [PATCH] Template-Pfad vor regex quoten. zu commit 6348bffb3ca90327f8dd042bfd0a89802b269b79 (Template-Pfad aus Pfad-Namen anderer Tex-Dateien richtig entfernen.) --- bin/mozilla/amtemplates.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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$||; -- 2.20.1