From bc0f0cfb3baf154bbf0cdbda1f3b94c0955fd94c Mon Sep 17 00:00:00 2001 From: Robert Kukla Date: Mon, 10 Mar 2008 17:47:58 +0000 Subject: 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 --- wps/wpsbuild.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wps') diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl index cb9ccbfc80..f7d095268e 100755 --- a/wps/wpsbuild.pl +++ b/wps/wpsbuild.pl @@ -278,6 +278,8 @@ $has_remote = 1 if ($remote_height && $remote_width && remote_depth); open(WPS, "<$wpslist"); while() { my $l = $_; + # remove CR + $l =~ s/\r//g; if($l =~ /^ *\#/) { # skip comment next; -- cgit v1.2.3