summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-10 17:47:58 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-10 17:47:58 +0000
commitbc0f0cfb3baf154bbf0cdbda1f3b94c0955fd94c (patch)
tree2059aafc01f7f0f7c75c9557dcd67280f997688f /wps
parent80ec5140f162c26d87fc8cfc2f60e264e25b80e6 (diff)
downloadrockbox-bc0f0cfb3baf154bbf0cdbda1f3b94c0955fd94c.tar.gz
rockbox-bc0f0cfb3baf154bbf0cdbda1f3b94c0955fd94c.tar.bz2
rockbox-bc0f0cfb3baf154bbf0cdbda1f3b94c0955fd94c.zip
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
Diffstat (limited to 'wps')
-rwxr-xr-xwps/wpsbuild.pl2
1 files changed, 2 insertions, 0 deletions
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(<WPS>) {
my $l = $_;
+ # remove CR
+ $l =~ s/\r//g;
if($l =~ /^ *\#/) {
# skip comment
next;