suppmk-gen: Properly exit with non-zero status on failure
* build-aux/m4/calcdsl.m4: Exit on suppmk-gen. * build-aux/suppmk-gen: Exit on failure.master
parent
ce08086b15
commit
017ca1f437
|
@ -91,7 +91,7 @@ AC_OUTPUT
|
||||||
|
|
||||||
# we want this to run as part of the configure script, not during M4
|
# we want this to run as part of the configure script, not during M4
|
||||||
# expansion
|
# expansion
|
||||||
"$CALCROOT/build-aux/suppmk-gen" $SRCPATHS
|
"$CALCROOT/build-aux/suppmk-gen" $SRCPATHS || exit
|
||||||
|
|
||||||
AC_MSG_NOTICE([complete
|
AC_MSG_NOTICE([complete
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
##
|
##
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
echo "Generating suppliers.mk..."
|
echo "Generating suppliers.mk..."
|
||||||
# TODO: kluge; do properly.
|
# TODO: kluge; do properly.
|
||||||
rm -f suppliers.mk
|
rm -f suppliers.mk
|
||||||
|
|
Loading…
Reference in New Issue