summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-09-09 17:00:46 +0200
committerunknown <lenz@mysql.com>2004-09-09 17:00:46 +0200
commitf13b746b693d7d801c1d8fce63033eb9cd047671 (patch)
treee3ca51ac7f7cefe1634fdc1597fbc45a818f4b29
parentca2f6cbda9cdab334e63c7bbf69931dc7b835204 (diff)
downloadmariadb-git-f13b746b693d7d801c1d8fce63033eb9cd047671.tar.gz
- 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)
-rwxr-xr-xBuild-tools/mysql-copyright4
-rwxr-xr-xBuild-tools/mysql-copyright-21
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="/* ";