diff options
-rwxr-xr-x | fullpkg | 3 | ||||
-rw-r--r-- | libretools.conf | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 |