install_pkg(): exit immediately on errors.

--HG--
extra : convert_revision : ac0332748a5390d3324329a2aa5630ef35e0bf7d
This commit is contained in:
Juan RP 2010-04-22 13:40:53 +02:00
parent 38c91a38ca
commit 3fa8a3a284

View file

@ -98,7 +98,7 @@ install_pkg()
env xbps_machine=${xbps_machine} \
${fakeroot_cmd} ${fakeroot_cmd_args} \
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-doinst-helper \
${curpkgn} || return $?
${curpkgn} || exit $?
# Always write metadata to package's destdir.
. $XBPS_SHUTILSDIR/metadata.sh