]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - autogen.sh
libmount: don't use sscanf() for swaps parsing
[thirdparty/util-linux.git] / autogen.sh
index 04b6cb45938eb9298f33cb11d4faf67bd5915875..3625b2da9125a105b0f5b6846dfb0075cbf93acc 100755 (executable)
@@ -73,7 +73,7 @@ if ! (bison --version) < /dev/null > /dev/null 2>&1; then
        echo
        DIE=1
 else
-       lexver=$(bison --version | awk '/bison \(GNU Bison\)/ { print $4 }')
+       lexver=$(bison --version | awk '/^bison \(GNU [Bb]ison\)/ { print $4 }')
        case "$lexver" in
                [2-9].*)
                        ;;