common/hooks/do-fetch: 00-distfiles: disable trap on ERR to fix autobuild issues.

This commit is contained in:
Juan RP 2014-03-05 13:58:46 +01:00
parent ba8253f4db
commit b5c0ac90cc

View File

@ -28,6 +28,9 @@ hook() {
cd $srcdir || msg_error "$pkgver: cannot change dir to $srcdir!\n"
# Disable trap on ERR; the code is smart enough to report errors and abort.
trap - ERR
for f in ${distfiles}; do
curfile=$(basename $f)
distfile="$srcdir/$curfile"