summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2006-10-06 22:22:15 +0200
committerOliver Tappe2006-10-06 22:22:15 +0200
commit389161001cd93e914911033e95a87220d42bb01b (patch)
tree11e71dcc30b959aae464f30981f9509a971c0702 /config-db
parent* renamed 'tools'-folder to 'devel-tools' to make things more clear: the tools (diff)
downloadcore-389161001cd93e914911033e95a87220d42bb01b.tar.gz
core-389161001cd93e914911033e95a87220d42bb01b.tar.xz
core-389161001cd93e914911033e95a87220d42bb01b.zip
* added safety check, now only *.pm files will be updated.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@450 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/devel-tools/extractTranslations.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-db/devel-tools/extractTranslations.pl b/config-db/devel-tools/extractTranslations.pl
index a69132f2..bd16b613 100755
--- a/config-db/devel-tools/extractTranslations.pl
+++ b/config-db/devel-tools/extractTranslations.pl
@@ -98,7 +98,7 @@ sub ExtractTrStrings
sub UpdateTrModule
{
$File::Find::prune = 1 if ($_ eq '.svn');
- return if -d;
+ return if -d || ! /.pm$/;
print "updating $File::Find::name...\n";
my $trModule = $_;
my $useKeyAsTranslation = ($trModule eq 'posix.pm');