projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e4ce0
)
Doppeltes parsen von Dateien vermeiden durch Bereinigung der Dateipfade.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 18 Apr 2008 15:49:15 +0000
(15:49 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 18 Apr 2008 15:49:15 +0000
(15:49 +0000)
locale/de/locales.pl
patch
|
blob
|
history
diff --git
a/locale/de/locales.pl
b/locale/de/locales.pl
index
a655bdc
..
6fd6e80
100755
(executable)
--- 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;