Commit 42419a87 authored by lenz@mysql.com's avatar lenz@mysql.com

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

   autom4te.cache directory and update the headers of the message files.
parent 8d972b7e
...@@ -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