Skip to content

Commit 7e6c85b

Browse files
committed
Extend "make shellcheck" onto autogen.sh
Same as in tcpslice and libpcap.
1 parent 3b55630 commit 7e6c85b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,4 +569,4 @@ depend:
569569
@$(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" -s "$(srcdir)" $(DEFS) $(INCLS) $(SRC) $(LIBNETDISSECT_SRC)
570570

571571
shellcheck:
572-
shellcheck -f gcc -e SC2006 build.sh build_matrix.sh build_common.sh .ci-coverity-scan-build.sh
572+
shellcheck -f gcc -e SC2006 autogen.sh build.sh build_matrix.sh build_common.sh .ci-coverity-scan-build.sh

autogen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ maj=`echo "$AUTORECONFVERSION" | cut -d. -f1`
88
min=`echo "$AUTORECONFVERSION" | cut -d. -f2`
99
# The minimum required version of autoconf is currently 2.69.
1010
if [ "$maj" = "" ] || [ "$min" = "" ] || \
11-
[ "$maj" -lt 2 ] || [ "$maj" -eq 2 -a "$min" -lt 69 ]; then
11+
[ "$maj" -lt 2 ] || { [ "$maj" -eq 2 ] && [ "$min" -lt 69 ]; }; then
1212
cat >&2 <<-EOF
1313
Please install the 'autoconf' package version 2.69 or later.
1414
If version 2.69 or later is already installed and there is no

0 commit comments

Comments
 (0)