Commit f13b746b authored by unknown's avatar unknown

- two small fixups for the mysql-copyright scripts: remove the

   autom4te.cache directory and update the headers of the message files.


Build-tools/mysql-copyright-2:
   - make sure to fix the copyright in the recently added GPL
     headers of the message files, too
Build-tools/mysql-copyright:
   - remove the autom4te.cache directory (leftover from running
     autotools after modifying configure.in)
parent ca2f6cbd
...@@ -125,6 +125,10 @@ sub main ...@@ -125,6 +125,10 @@ sub main
print "\"./configure\" was not produced, exiting!\n"; print "\"./configure\" was not produced, exiting!\n";
exit(0); exit(0);
} }
if (-d "autom4te.cache") {
print "Trying to delete autom4te.cache dir\n" if $opt_verbose;
system("rm -rf autom4te.cache") or print "Unable to delete autom4te.cache dir: $!\n";
}
} }
# fix file copyrights # fix file copyrights
......
...@@ -90,6 +90,7 @@ sub add_copyright ...@@ -90,6 +90,7 @@ sub add_copyright
$ARGV =~ /\.cc$/ || $ARGV =~ /\.cc$/ ||
$ARGV =~ /\.h$/ || $ARGV =~ /\.h$/ ||
$ARGV =~ /\.cpp$/ || $ARGV =~ /\.cpp$/ ||
$ARGV =~ /\.txt$/ ||
$ARGV =~ /\.yy$/) $ARGV =~ /\.yy$/)
{ {
$start_copyright="/* "; $start_copyright="/* ";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment