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;