From 5f47cf2a8f096f284bb1a9278fa676960ae65847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 22 Mar 2011 09:22:18 -0300 Subject: FullPkg fails on previously failed packages again --- fullpkg | 3 ++- libretools.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fullpkg b/fullpkg index 036e820..b75bf32 100755 --- a/fullpkg +++ b/fullpkg @@ -125,7 +125,7 @@ for _dep in ${deps[@]}; do pushd $tmp_dir/$_dep >/dev/null $0 - [[ $? -eq 1 ]] && { + [[ $? -ne 0 ]] && { failed=(${failed[@]} $_dep) } @@ -147,6 +147,7 @@ done #[[ ${#failed[@]} -gt 0 ]] || [[ ${#missing[@]} -gt 0 ]] && { [[ ${#failed[@]} -gt 0 ]] && { echo ":: This packages failed to build: ${failed[@]}" + exit 1 } # [[ ${#missing[@]} -gt 0 ]] && { diff --git a/libretools.conf b/libretools.conf index a3fd4b8..8fe80a7 100644 --- a/libretools.conf +++ b/libretools.conf @@ -7,7 +7,7 @@ WORKDIR=/home/$USER/packages REPOS=('libre' 'libre-testing' 'core' 'community' 'extra' 'social' 'sugar') # The architectures -ARCHES=('i686' 'x86_64') +ARCHES=('i686' 'x86_64' 'mips64el') ## The directory where the chroots are stored CHROOTDIR=/home/chroot -- cgit v1.2.2