From f12a5993c15e71bb751d38182dcf0df846c87a4f Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Wed, 31 Jan 2007 16:54:52 +0000 Subject: [PATCH] Suche einschraenken auf .sql am Ende (\x) --- bin/mozilla/admin.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 86d660188..5db53d0c3 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -1467,7 +1467,7 @@ sub create_dataset { } opendir SQLDIR, "sql/." or $form - error($!); - foreach $item (sort grep /-chart\.sql/, readdir SQLDIR) { + foreach $item (sort grep /-chart\.sql\z/, readdir SQLDIR) { next if ($item eq 'Default-chart.sql'); $item =~ s/-chart\.sql//; push @charts, -- 2.20.1