]> xenbits.xensource.com Git - raisin.git/commitdiff
Print out components which are skipped because unsupported on a given platform
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 16 Oct 2015 11:45:55 +0000 (12:45 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 16 Oct 2015 11:45:55 +0000 (12:45 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
lib/common-functions.sh

index 03642aeb60367fa00759a822d00574b727c3e70a..27f64349722d06970f5fe8efa1df05e5b1a41d40 100644 (file)
@@ -301,11 +301,16 @@ function for_each_component () {
                 break
             fi
         done
-        if ! $found || "$component"_skip
+        if ! $found
         then
             verbose_echo "$component" is disabled
             continue
         fi
+        if "$component"_skip
+        then
+            error_echo "$component" will be skipped on your platform
+            continue
+        fi
 
         echo "$PREPEND" calling "$component"_"$1"
         if [[ $VERBOSE -eq 0 ]]