Fail if the SDK is not available 76/24276/1
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 23 Mar 2020 21:12:12 +0000 (22:12 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 23 Mar 2020 21:13:00 +0000 (22:13 +0100)
Enforce the build and fail when the SDK is not available.

Bug-AGL: SPEC-2931

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1297f8cfa28c7a8276dc26463da8a3036ac47c83

jjb/common/include-apps-fetch-install-sdk.sh

index 5bcd461..0d23186 100644 (file)
@@ -47,9 +47,7 @@ export TARGETSDKNAME=$(curl -s "$SDKBASEURL" | grep -e "crosssdk.*\.sh<" | sed -
 
 if test x"" = x"${TARGETSDKNAME}" ; then
     echo "Could not retrieve TARGETSDKNAME from download.automotivelinux.org"
-    echo "Abort gracefully."
-    exit 0
-    #exit 1
+    exit 1
 fi
 #set -x
 if test ! -f ${TARGETSDKNAME} ; then