mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-07 14:20:29 +00:00
autogen.sh: Fix some shellcheck(1) warning messages
This commit is contained in:
parent
daa88b7651
commit
dd6d75d37d
@ -168,7 +168,7 @@ AUTOMAKE_VERSION=$(echo $AUTOMAKE | cut -d'-' -f2-)
|
|||||||
|
|
||||||
AM_VERSION=$($AUTOMAKE --version | head -n 1 | sed -e 's/.* //g')
|
AM_VERSION=$($AUTOMAKE --version | head -n 1 | sed -e 's/.* //g')
|
||||||
ifs=$IFS; IFS="."; set $AM_VERSION; IFS=$ifs
|
ifs=$IFS; IFS="."; set $AM_VERSION; IFS=$ifs
|
||||||
AM_MAJOR="$1"; AM_MINOR="$2"; AM_PATCHLEVEL="$3"
|
AM_MAJOR="$1"; AM_MINOR="$2"
|
||||||
echo "Detected automake $AM_VERSION ..."
|
echo "Detected automake $AM_VERSION ..."
|
||||||
|
|
||||||
AM_MAKEFILES="src/ipaddr/Makefile.ng src/ngircd/Makefile.ng src/testsuite/Makefile.ng src/tool/Makefile.ng"
|
AM_MAKEFILES="src/ipaddr/Makefile.ng src/ngircd/Makefile.ng src/testsuite/Makefile.ng src/tool/Makefile.ng"
|
||||||
@ -194,6 +194,7 @@ if [ "$AM_MAJOR" -eq "1" ] && [ "$AM_MINOR" -ge "13" ]; then
|
|||||||
SERIAL_TESTS="serial-tests"
|
SERIAL_TESTS="serial-tests"
|
||||||
else
|
else
|
||||||
# automake < 1.13 => no new test harness, nothing to do
|
# automake < 1.13 => no new test harness, nothing to do
|
||||||
|
# shellcheck disable=SC2034
|
||||||
SERIAL_TEST=""
|
SERIAL_TEST=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user