Skip to content

Commit

Permalink
autogen.sh: fix autoreconf exit code log
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Nov 10, 2020
1 parent 6f46375 commit 51bffc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 51bffc0

Please sign in to comment.