summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-02-09 17:40:10 +0100
committerunknown <lenz@mysql.com>2005-02-09 17:40:10 +0100
commit4ebc8efc91caa480227d1f38f2fc5550041c4214 (patch)
tree0f61ee03d1de578a31bacb9a3e0ffa294238a4e9 /Build-tools
parent6a1e75621155f700bc6912f9669a5a374342b712 (diff)
downloadmariadb-git-4ebc8efc91caa480227d1f38f2fc5550041c4214.tar.gz
- added copyright header on top of the fill_help_tables.sql file (BUG#5772)
- updated mysql-copyright-2 to properly convert this new header from GPL to commercial for the commercial distribution Build-tools/mysql-copyright-2: - added functionality to replace a copyright header in .sql files, too (needed for updating scripts/fill_help_tables.sql in the commercial source distribution) scripts/fill_help_tables.sh: - added copyright header on top of the fill_help_tables.sql file (BUG#5772)
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/mysql-copyright-26
1 files changed, 6 insertions, 0 deletions
diff --git a/Build-tools/mysql-copyright-2 b/Build-tools/mysql-copyright-2
index 2ea2e8ef441..972d5483d54 100755
--- a/Build-tools/mysql-copyright-2
+++ b/Build-tools/mysql-copyright-2
@@ -109,6 +109,12 @@ sub add_copyright
$line_copyright= "! ";
$end_copyright= "";
}
+ elsif ($ARGV =~ /\.sql$/)
+ {
+ $start_copyright="-- ";
+ $line_copyright= "-- ";
+ $end_copyright= "";
+ }
elsif ($ARGV =~ /\.asm$/)
{
$start_copyright="; ";