diff options
author | lenz@mysql.com <> | 2004-09-09 17:00:46 +0200 |
---|---|---|
committer | lenz@mysql.com <> | 2004-09-09 17:00:46 +0200 |
commit | 42419a875a9c1057cc84759b2a4aa7c7279cba3b (patch) | |
tree | e3ca51ac7f7cefe1634fdc1597fbc45a818f4b29 /Build-tools | |
parent | 8d972b7e6c0379da3b7fb5e9ccbb00693b768da6 (diff) | |
download | mariadb-git-42419a875a9c1057cc84759b2a4aa7c7279cba3b.tar.gz |
- two small fixups for the mysql-copyright scripts: remove the
autom4te.cache directory and update the headers of the message files.
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/mysql-copyright | 4 | ||||
-rwxr-xr-x | Build-tools/mysql-copyright-2 | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Build-tools/mysql-copyright b/Build-tools/mysql-copyright index ad4547b493c..a1869304ba7 100755 --- a/Build-tools/mysql-copyright +++ b/Build-tools/mysql-copyright @@ -125,6 +125,10 @@ sub main print "\"./configure\" was not produced, exiting!\n"; 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 diff --git a/Build-tools/mysql-copyright-2 b/Build-tools/mysql-copyright-2 index a1a870526da..2ea2e8ef441 100755 --- a/Build-tools/mysql-copyright-2 +++ b/Build-tools/mysql-copyright-2 @@ -90,6 +90,7 @@ sub add_copyright $ARGV =~ /\.cc$/ || $ARGV =~ /\.h$/ || $ARGV =~ /\.cpp$/ || + $ARGV =~ /\.txt$/ || $ARGV =~ /\.yy$/) { $start_copyright="/* "; |