From ea7953fea5083082986787136ebec7a7a77593a3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 25 Dec 2018 18:14:24 -0500 Subject: opkbuild: Don't ignore errors from `../build build` --- diff --git a/NEWS b/NEWS index a09ad5a..d5af6e9 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,8 @@ Changes in this release: ob_parse_version(), ob_parse_package_metadata(), and ob_get_binary_packages() that affects GNU Bash and possibly other shells has been fixed. + * A bug in opkbuild that would ignore errors from the "build" + makefile's "build" target has been fixed. * The minimum version of the GNU General Public License has been bumped to version 3. diff --git a/src/opkbuild.sh b/src/opkbuild.sh index fbd0d7d..9f3de2c 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -311,8 +311,8 @@ build() { case "${opt_target}" in '') - ../build build - ${opt_uid0_cmd} -- ../build install && \ + ../build build && \ + ${opt_uid0_cmd} -- ../build install && \ ${opt_uid0_cmd} -- '${BINDIR}/ob-installdocs' && \ ${opt_uid0_cmd} -- '${BINDIR}/ob-gencontrol' && \ ${opt_uid0_cmd} -- '${BINDIR}/ob-buildopk' && \ -- cgit v0.9.1