diff options
author | unknown <mwagner@here.mwagner.org> | 2004-06-30 23:31:33 -0500 |
---|---|---|
committer | unknown <mwagner@here.mwagner.org> | 2004-06-30 23:31:33 -0500 |
commit | 007b18d9da095428e29ee9e3d8a6e31cd582dcf3 (patch) | |
tree | ab2c378a570e2e96fc2101567e729b5474681e5a /Build-tools | |
parent | dc525227919d926d35fc012b202c55de94d74c6d (diff) | |
parent | 208b362de834e050644fb245ffa7675e8fb87d90 (diff) | |
download | mariadb-git-007b18d9da095428e29ee9e3d8a6e31cd582dcf3.tar.gz |
Merge here.mwagner.org:/Volumes/BK/mysql-4.1
into here.mwagner.org:/Volumes/BK/mysql-4.1-work
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/mysql-copyright | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Build-tools/mysql-copyright b/Build-tools/mysql-copyright index f2da3cdf447..e1ee513e06d 100755 --- a/Build-tools/mysql-copyright +++ b/Build-tools/mysql-copyright @@ -162,7 +162,23 @@ sub trim_the_fat undef $/; my $configure= <CONFIGURE>; close(CONFIGURE); - $configure=~ s|${the_fat}/Makefile dnl\n?||g; + + # + # If $the_fat Makefile line closes the parenthesis, then + # replace that line with just the closing parenthesis. + # + if ($configure=~ m|${the_fat}/Makefile\)\n?|) + { + $configure=~ s|${the_fat}/Makefile(\)\n?)|$1|; + } + # + # Else just delete the line + # + else + { + $configure=~ s|${the_fat}/Makefile dnl\n?||; + } + open(CONFIGURE,">configure.in") or die "Unable to open configure.in for write: $!\n"; print CONFIGURE $configure; close(CONFIGURE); |