From 689525d261aa6f237c1ff2e0dc3bbf962fce2761 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 18 Apr 2008 15:49:15 +0000 Subject: [PATCH] Doppeltes parsen von Dateien vermeiden durch Bereinigung der Dateipfade. --- locale/de/locales.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/locale/de/locales.pl b/locale/de/locales.pl index a655bdcb5..6fd6e80e1 100755 --- a/locale/de/locales.pl +++ b/locale/de/locales.pl @@ -361,6 +361,9 @@ sub scanfile { my $dont_include_subs = shift; my $scanned_files = shift; + # sanitize file + $file =~ s=/+=/=g; + $scanned_files = {} unless ($scanned_files); return if ($scanned_files->{$file}); $scanned_files->{$file} = 1; -- 2.20.1