Commit c25a9921 authored by lenz@mysql.com's avatar lenz@mysql.com
Browse files

Fixed Build-tools/mysql-copyright-2 to properly replace the copyright

header in x86 assemler files instead of eating the whole file
parent 3629a3d5
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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="! ";