mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
Fix more license headers
This commit is contained in:
@@ -57,7 +57,8 @@ foreach my $file (@ARGV) {
|
||||
$nsuf = ' */';
|
||||
}
|
||||
my @hdr = ();
|
||||
if (scalar(@lines) && $lines[0] =~ /^\#\!/) {
|
||||
# Shebang and emacs mode lines should be left at the top
|
||||
while (scalar(@lines) && $lines[0] =~ /^(?:\#\!|.*\-\*\-)/) {
|
||||
push(@hdr, shift(@lines));
|
||||
}
|
||||
push(@hdr, $npfx.'SPDX-License-Identifier: BSD-2-Clause'.$nsuf);
|
||||
|
Reference in New Issue
Block a user