Bugfix 347 - locales.pl wertetet falsche Dateien ( *.pl~) aus
authorStephan Köhler <s.koehler@linet-services.de>
Thu, 6 Apr 2006 07:54:17 +0000 (07:54 +0000)
committerStephan Köhler <s.koehler@linet-services.de>
Thu, 6 Apr 2006 07:54:17 +0000 (07:54 +0000)
locale/de/locales.pl

index ac24947..1767b96 100755 (executable)
@@ -15,7 +15,7 @@ foreach $item (@ARGV) {
 }
 
 opendir DIR, "$bindir" or die "$!";
-@progfiles = grep { /\.pl/; !/(_|^\.)/ } readdir DIR;
+@progfiles = grep { /\.pl$/ && !/(_|^\.)/ } readdir DIR;
 seekdir DIR, 0;
 @customfiles = grep /_/, readdir DIR;
 closedir DIR;