summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorlenz@mysql.com <>2002-06-17 08:54:57 +0200
committerlenz@mysql.com <>2002-06-17 08:54:57 +0200
commitc25a99214c92f3fa88f133b1944bb5368400b714 (patch)
tree0379ea2e98696ed1c4137d37b7392b6931428e0a /Build-tools
parent3629a3d5a44fb1b3c34b94480684937a2521793b (diff)
downloadmariadb-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-xBuild-tools/mysql-copyright-29
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="! ";