From 15b7c92887924a416ae468f7d85cf01d74ce662e Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Tue, 6 Dec 2016 18:47:28 -0800 Subject: Escape . in .layout regexp --- scripts/reorder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/reorder.pl b/scripts/reorder.pl index 475db41..ce82fa4 100644 --- a/scripts/reorder.pl +++ b/scripts/reorder.pl @@ -57,7 +57,7 @@ sub GetFilename } # Add a file extension - $filename .= '.layout' unless ($filename =~ /.layout$/); + $filename .= '.layout' unless ($filename =~ /\.layout$/); # Use get_irssi_dir() unless using an absolute path if ($filename !~ /\//) { -- cgit v1.2.3