X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6f213f26737b513053800372ec1a57877092888..93c17c6784dbd9ee5b37476dc0fc44529486558b:/bin/mozilla/amtemplates.pl 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$||;