fix computation of APIVERSION
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 25 Sep 2002 20:57:06 +0000 (20:57 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 25 Sep 2002 20:57:06 +0000 (20:57 +0000)
bootstrap

index 3f2ff51a827fc5eaf622a4a0e18cae499b1d531f..3c2f517b6940e2f26ee90f8ab6051ea8b0a51089 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -39,7 +39,7 @@ PACKAGE=automake
 datadir=.
 
 # Read the rule for calculating APIVERSION and execute it
-apiver_cmd=`sed -ne '/^APIVERSION=/p' configure.in`
+apiver_cmd=`sed -ne 's/\[\[/[/g;s/\]\]/]/g;/^APIVERSION=/p' configure.in`
 eval $apiver_cmd
 
 # Sanity checks