]> git.sesse.net Git - vlc/commitdiff
* ./bootstrap: fixed a bug I introduced yesterday that caused automake
authorSam Hocevar <sam@videolan.org>
Thu, 3 Oct 2002 08:44:11 +0000 (08:44 +0000)
committerSam Hocevar <sam@videolan.org>
Thu, 3 Oct 2002 08:44:11 +0000 (08:44 +0000)
    version detection not to work properly.

bootstrap

index 80941e747981d2551a28689568aed30ed0f964c7..1d2146bc73569d19ab788bcb1b6a8a0eab6b9521 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 ##  bootstrap file for vlc, the VideoLAN Client
-##  $Id: bootstrap,v 1.16 2002/10/02 16:02:43 sam Exp $
+##  $Id: bootstrap,v 1.17 2002/10/03 08:44:11 sam Exp $
 ##
 ##  Authors: Samuel Hocevar <sam@zoy.org>
 
@@ -211,7 +211,7 @@ else
   else
     if automake --version > /dev/null 2>&1
     then
-      amvers=`echo $amvers | sed -e '1s/[^0-9]*//' -e q`
+      amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q`
       case $amvers in
       1.6|1.6.0|1.6.1)
         AUTOMAKESUCKS=yes ;;