diff options
author | Karel Zak | 2018-04-30 09:37:14 +0200 |
---|---|---|
committer | Karel Zak | 2018-04-30 09:43:32 +0200 |
commit | 5ff48b5f364ee4775400a6c06b9248be715a89fc (patch) | |
tree | 38a0bc8338efccf125d6cb83b21ca9641d5ce56d /autogen.sh | |
parent | libmount: improve docs about mnt_context_mount() return codes (diff) | |
download | kernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.tar.gz kernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.tar.xz kernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.zip |
build-sys: improve bison version detection
Addresses: https://github.com/karelzak/util-linux/issues/630
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 04b6cb459..3625b2da9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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].*) ;; |