diff options
author | lenz@mysql.com <> | 2002-06-17 08:54:57 +0200 |
---|---|---|
committer | lenz@mysql.com <> | 2002-06-17 08:54:57 +0200 |
commit | c25a99214c92f3fa88f133b1944bb5368400b714 (patch) | |
tree | 0379ea2e98696ed1c4137d37b7392b6931428e0a /Build-tools | |
parent | 3629a3d5a44fb1b3c34b94480684937a2521793b (diff) | |
download | mariadb-git-c25a99214c92f3fa88f133b1944bb5368400b714.tar.gz |
Fixed Build-tools/mysql-copyright-2 to properly replace the copyright
header in x86 assemler files instead of eating the whole file
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/mysql-copyright-2 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Build-tools/mysql-copyright-2 b/Build-tools/mysql-copyright-2 index 5aeb4bb81db..a0d30f308e5 100755 --- a/Build-tools/mysql-copyright-2 +++ b/Build-tools/mysql-copyright-2 @@ -89,13 +89,18 @@ sub add_copyright elsif ($ARGV =~ /\.c$/ || $ARGV =~ /\.cc$/ || $ARGV =~ /\.h$/ || - $ARGV =~ /\.yy$/ || - $ARGV =~ /-x86\.s$/) + $ARGV =~ /\.yy$/) { $start_copyright="/* "; $line_copyright= " "; $end_copyright= " */"; } + elsif ($ARGV =~ /-x86\.s$/) + { + $start_copyright="# "; + $line_copyright= "# "; + $end_copyright= ""; + } elsif ($ARGV =~ /\.s$/) { $start_copyright="! "; |