소스 검색

wikiheaders: Remove trailing whitespace from "brief" description.

Ryan C. Gordon 1 년 전
부모
커밋
dd2780f9fb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      build-scripts/wikiheaders.pl

+ 1 - 0
build-scripts/wikiheaders.pl

@@ -1189,6 +1189,7 @@ if ($copy_direction == 1) {  # --copy-to-headers
             $brief .= "$l ";
         }
 
+        $brief =~ s/\s+\Z//;
         $brief =~ s/\A(.*?\.) /$1\n\n/;  # \brief should only be one sentence, delimited by a period+space. Split if necessary.
         my @briefsplit = split /\n/, $brief;