summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-10-09 11:41:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-09 11:46:10 +0200
commitcb801c7c1ea5211eaaaeed38223104c5d401fe4c (patch)
treedb3b275e5f9c1b80aec5a9fb8b69a98d7dac350b
parentb60fe8d629f5ea1bf84ba4b97b7109001623ead3 (diff)
downloadptxdist-cb801c7c1ea5211eaaaeed38223104c5d401fe4c.tar.gz
ptxdist-cb801c7c1ea5211eaaaeed38223104c5d401fe4c.tar.xz
ptxd_make_xpkg_finish_impl: propagate errors properly
Otherwise opkg-build errors for the real package will be lost. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_make_xpkg_finish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_finish.sh b/scripts/lib/ptxd_make_xpkg_finish.sh
index eb9040fb9..3b9f24a3c 100644
--- a/scripts/lib/ptxd_make_xpkg_finish.sh
+++ b/scripts/lib/ptxd_make_xpkg_finish.sh
@@ -15,7 +15,7 @@
ptxd_make_xpkg_finish_impl() {
chown -R 0:0 "${pkg_xpkg_tmp}" "${pkg_xpkg_dbg_tmp}" &&
ptxd_make_xpkg_pkg "${pkg_xpkg_tmp}" "${pkg_xpkg_dbg_tmp}" "${pkg_xpkg_cmds}" "${pkg_xpkg_perms}" &&
- opkg-build ${ptx_xpkg_extra_args} "${pkg_xpkg_tmp}" "${ptx_pkg_dir}"
+ opkg-build ${ptx_xpkg_extra_args} "${pkg_xpkg_tmp}" "${ptx_pkg_dir}" &&
if [ "$(find "${pkg_xpkg_dbg_tmp}" -type f | wc -l)" -gt 1 ]; then
# more than just the control file
opkg-build ${ptx_xpkg_extra_args} "${pkg_xpkg_dbg_tmp}" "${ptx_pkg_dir}"