summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg3
1 files changed, 2 insertions, 1 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 ]] && {