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
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ hook() {
cd $srcdir || msg_error "$pkgver: cannot change dir to $srcdir!\n" 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 for f in ${distfiles}; do
curfile=$(basename $f) curfile=$(basename $f)
distfile="$srcdir/$curfile" distfile="$srcdir/$curfile"