diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 17:48:58 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 17:48:58 +0300 |
commit | 71f32745b632be503a6f1ba5f21a0b73fe9befd9 (patch) | |
tree | 0d4bdbb2da94b7dfce24e5e6c07f6f2ef23768bc /l10n/l10n.pl | |
parent | 7a9d428d6f6146d44883e2c5bab04db702792ce4 (diff) |
ignore minified js, owncloud/news#719
Diffstat (limited to 'l10n/l10n.pl')
-rw-r--r-- | l10n/l10n.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 7443a5f941d..26ed4ecba30 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -44,7 +44,7 @@ sub crawlFiles{ push( @found, crawlFiles( $dir.'/'.$i )); } else{ - push(@found,$dir.'/'.$i) if $i =~ /\.js$/ || $i =~ /\.php$/; + push(@found,$dir.'/'.$i) if $i =~ /.*(?<!\.min)\.js$/ || $i =~ /\.php$/; } } |