Browse Source

Concatenate continued lines in the Makefile.

PR:	275075
Joe Clarke 5 months ago
parent
commit
eca0bdab9b
1 changed files with 5 additions and 0 deletions
  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);