Fix eternal loop caused by building on win32 & having dos-lineendings enabled.
r=bryner a=leaf git-svn-id: svn://10.0.0.236/trunk@115458 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c4499c97cc
commit
4be5190aa4
@ -37,6 +37,8 @@ $outfile = shift @ARGV;
|
||||
# Parse dependency files
|
||||
while ($line = <STDIN>) {
|
||||
chomp $line;
|
||||
# Remove extra ^M caused by using dos-mode line-endings
|
||||
chop $line if (substr($line, -1, 1) eq "\r");
|
||||
($obj,$rest) = split /\s*:\s+/, $line, 2;
|
||||
next if $obj eq '';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user