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:
parent
80ec5140f1
commit
bc0f0cfb3b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue