summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-14 22:51:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-14 22:51:21 +0000
commit939218ae82e4cb36d1780b854f86e7bae4c2b9d6 (patch)
tree86330ce69f6951cb34978c77bb8558698a4e8aad /build
parent86a13c6ab9ec4f485e1cc9d89475ba73e2c9e261 (diff)
build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl
Diffstat (limited to 'build')
-rwxr-xr-xbuild/i18n-scan.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl
index 9edb529ef..8c01a99c4 100755
--- a/build/i18n-scan.pl
+++ b/build/i18n-scan.pl
@@ -72,7 +72,7 @@ if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" )
$text = $raw;
- while( $text =~ s/ ^ .*? <% [:_] -? /<%/sgx )
+ while( $text =~ s/ ^ .*? <% -? [:_] /<%/sgx )
{
( my $code, $text ) = extract_tagged($text, '<%', '%>');