repo: ngircd
action: commit
revision: 
path_from: 
revision_from: dd6d75d37d67a05a439322ef3ca941f63afaaed6:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit dd6d75d37d67a05a439322ef3ca941f63afaaed6
Author: Alexander Barton 
Date:   Mon Dec 5 23:55:16 2016 +0100

    autogen.sh: Fix some shellcheck(1) warning messages

diff --git a/autogen.sh b/autogen.sh
index 3f86295ae0ab25fc8b98ca65f9b883f1ca266543..
index ..3a3f717aa0ad5896d6e05930b278f2cbe5d1d68f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -168,7 +168,7 @@ AUTOMAKE_VERSION=$(echo $AUTOMAKE | cut -d'-' -f2-)

 AM_VERSION=$($AUTOMAKE --version | head -n 1 | sed -e 's/.* //g')
 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 ..."

 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"
 else
 	# automake < 1.13 => no new test harness, nothing to do
+	# shellcheck disable=SC2034
 	SERIAL_TEST=""
 fi

-----END OF PAGE-----