0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 06:41:03 +08:00

autogen.sh: fix autoreconf exit code log

This commit is contained in:
Zoe Faltibà 2020-11-10 17:31:22 +01:00
parent 6f46375440
commit 51bffc05f5
No known key found for this signature in database
GPG Key ID: 05CB7E816D1A93A8

View File

@ -43,7 +43,8 @@ if [ $? -ne 0 ]; then
fi
autoreconf --install --force --verbose -I config
if [ $? -ne 0 ]; then
echo "autogen.sh: error: autoreconf exited with status $?" 1>&2
res=$?
if [ "$res" -ne 0 ]; then
echo "autogen.sh: error: autoreconf exited with status $res" 1>&2
exit 1
fi