hooks/04-generate-runtime-deps.sh: disable trap on ERR, not too useful on this hook.

This commit is contained in:
Juan RP 2014-02-12 18:03:21 +01:00
parent 31149cc7fe
commit 94eb08b05a

View file

@ -33,6 +33,11 @@ add_rundep() {
hook() {
local depsftmp f j tmplf mapshlibs sorequires
# Disable trap on ERR, xbps-uhelper cmd might return error... but not something
# to be worried about because if there are broken shlibs this hooks returns
# error via msg_error().
trap - ERR
mapshlibs=$XBPS_COMMONDIR/shlibs
tmplf=$XBPS_SRCPKGDIR/$pkgname/template