summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-20 07:06:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-20 07:06:15 +0000
commit1b2db9ec3c698b4c2325fd6621423e1cb6dbac88 (patch)
treebb615a2de53e1650c7e47f8f5c4e7a2931865836
parent0f434ebac996384618f613528ce650258c6ca1ed (diff)
downloadrockbox-1b2db9ec3c698b4c2325fd6621423e1cb6dbac88.tar.gz
rockbox-1b2db9ec3c698b4c2325fd6621423e1cb6dbac88.zip
get rid of DOS newlines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2345 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/genlang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/genlang b/tools/genlang
index 5e8c607609..3d77540707 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -52,6 +52,8 @@ while(<LANG>) {
# comment
next;
}
+ # get rid of DOS newlines
+ $_ =~ s/\r//g;
if($_ =~ / *([a-z]+): *(.*)/) {
($var, $value) = ($1, $2);
# print "$var => $value\n";