summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-submodules17
1 files changed, 16 insertions, 1 deletions
diff --git a/scripts/build-submodules b/scripts/build-submodules
index d58a84c8..81bedf4a 100755
--- a/scripts/build-submodules
+++ b/scripts/build-submodules
@@ -160,6 +160,10 @@ for PKG in mdns-repeater \
vyos-world \
; do
build_package "$PKG"
+ ERRCODE=$?
+ if [ "$ERRCODE" -ne "0" ]; then
+ exit $ERRCODE
+ fi
done
@@ -192,6 +196,10 @@ build_kernel() {
status_ok
}
build_kernel
+ERRCODE=$?
+if [ "$ERRCODE" -ne "0" ]; then
+ exit $ERRCODE
+fi
# WIREGUARD
@@ -236,7 +244,10 @@ build_wireguard() {
status_ok
}
build_wireguard
-
+ERRCODE=$?
+if [ "$ERRCODE" -ne "0" ]; then
+ exit $ERRCODE
+fi
# ACCEL-PPP
build_accel-ppp() {
@@ -279,3 +290,7 @@ build_accel-ppp() {
status_ok
}
build_accel-ppp
+ERRCODE=$?
+if [ "$ERRCODE" -ne "0" ]; then
+ exit $ERRCODE
+fi