]> The Tcpdump Group git mirrors - tcpdump/blobdiff - autogen.sh
Extend "make shellcheck" onto autogen.sh
[tcpdump] / autogen.sh
index b3c321b034dae1df8baa28d6244b14bf263e3076..c84a6b5c5dd256080187e14cd2a1d48dc49296b9 100755 (executable)
@@ -8,7 +8,7 @@ maj=`echo "$AUTORECONFVERSION" | cut -d. -f1`
 min=`echo "$AUTORECONFVERSION" | cut -d. -f2`
 # The minimum required version of autoconf is currently 2.69.
 if [ "$maj" = "" ] || [ "$min" = "" ] || \
-   [ "$maj" -lt 2 ] || [ "$maj" -eq 2 -a "$min" -lt 69 ]; then
+   [ "$maj" -lt 2 ] || { [ "$maj" -eq 2 ] && [ "$min" -lt 69 ]; }; then
        cat >&2 <<-EOF
        Please install the 'autoconf' package version 2.69 or later.
        If version 2.69 or later is already installed and there is no