Skip to content

Commit

Permalink
Merge pull request #143 from duncan-roe/autogen1
Browse files Browse the repository at this point in the history
Ensure autogen.sh exits nonzero if autoreconf fails
  • Loading branch information
rocky authored Jul 2, 2023
2 parents 8d84bb5 + 97201c3 commit a439129
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
MAKE=${MAKE:-make}

echo "Rebuilding ./configure with autoreconf..."
autoreconf -f -i

if [ $? -ne 0 ]; then
echo "autoreconf failed"
exit $?
fi
autoreconf -f -i || { rc=$?; echo "autoreconf failed"; exit $rc; }

# Add our target descriptions to po/Makefile.in.in
patch -p0 < po/Makefile.in.in.patch
Expand Down

0 comments on commit a439129

Please sign in to comment.