diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-04 15:34:59 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2020-01-04 15:34:59 -0500 |
commit | 4b53b20584d5581f966442cd5316fc64f5920e60 (patch) | |
tree | 7cead4c8182ee71349b0c841366f73884d5588b4 /sbolint | |
parent | 2014283bb112cd20ffab0c8180b1974ed8c3110d (diff) | |
download | sbostuff-4b53b20584d5581f966442cd5316fc64f5920e60.tar.gz |
sbolint: special case for perl builds;
Diffstat (limited to 'sbolint')
-rwxr-xr-x | sbolint | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -279,7 +279,6 @@ use POSIX qw/getcwd/; qr/#\s*Strip binaries and libraries - this can be done with/, qr/#\s*Compress man pages$/, qr/#\s*Compress info pages and remove the/, - qr/#\s*Remove perllocal.pod and other special files/, qr/#\s*Copy program documentation into the package/, qr/#\s*Copy the slack-desc \(and a custom doinst\.sh if necessary\)/, qr/#\s*Make the package; be sure to leave it in/, @@ -1030,6 +1029,14 @@ sub check_script { if(grep { $line =~ /$_/ } @boilerplate) { log_error("$file:$lineno: template comment should be removed"); } + + # special case here: don't complain about this comment if it's a perl-* build + if($file !~ /^perl-/) { + if($line =~ /#\s*Remove perllocal.pod and other special files/) { + log_error("$file:$lineno: template comment should be removed"); + } + } + } if(not defined($prgnam)) { |