upps fix uname -a to uname -mmaster
authorTorben Hohn <torbenh@gmx.de>
Tue, 28 Sep 2010 13:24:40 +0000 (28 15:24 +0200)
committerTorben Hohn <torbenh@gmx.de>
Tue, 28 Sep 2010 13:24:40 +0000 (28 15:24 +0200)
bootstrap.sh

index f5a8327..a7bdb79 100755 (executable)
@@ -57,7 +57,7 @@ else
     run_versioned automake "$VERSION" --copy --foreign --add-missing
 
     if test "x$NOCONFIGURE" = "x"; then
-       if [ -f /etc/fedora-release -a `uname -a` = x86_64 ] ; then
+       if [ -f /etc/fedora-release -a `uname -m` = x86_64 ] ; then
            CFLAGS="-g -O0" ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var "$@" 
        else 
            CFLAGS="-g -O0" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var "$@"