mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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");
|
open(WPS, "<$wpslist");
|
||||||
while(<WPS>) {
|
while(<WPS>) {
|
||||||
my $l = $_;
|
my $l = $_;
|
||||||
|
# remove CR
|
||||||
|
$l =~ s/\r//g;
|
||||||
if($l =~ /^ *\#/) {
|
if($l =~ /^ *\#/) {
|
||||||
# skip comment
|
# skip comment
|
||||||
next;
|
next;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue