소스 검색

Concatenate continued lines in the Makefile.

PR:	275075
Joe Clarke 6 달 전
부모
커밋
eca0bdab9b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      portlint.pl

+ 5 - 0
portlint.pl

@@ -1406,6 +1406,11 @@ sub checkmakefile {
 			}
 		}
 		$rawwhole .= $_;
+		if (/\\$/) {
+			# Concat continued lines.
+			chomp $rawwhole;
+			chop $rawwhole;
+		}
 	}
 	close(IN);