Signed-off-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
---
 lib/common-functions.sh |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/common-functions.sh b/lib/common-functions.sh
index 03642ae..27f6434 100644
--- a/lib/common-functions.sh
+++ b/lib/common-functions.sh
@@ -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 ]]
-- 
1.7.9.5


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to