ignore carriage returns in WPS files to avoid problems with cygwin/tortoisesvn

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Kukla 2008-03-10 17:47:58 +00:00
parent 80ec5140f1
commit bc0f0cfb3b

View file

@ -278,6 +278,8 @@ $has_remote = 1 if ($remote_height && $remote_width && remote_depth);
open(WPS, "<$wpslist");
while(<WPS>) {
my $l = $_;
# remove CR
$l =~ s/\r//g;
if($l =~ /^ *\#/) {
# skip comment
next;