summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/utils.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/utils.bbclass b/classes/utils.bbclass
index 6081b1e652..1cc6d2b162 100644
--- a/classes/utils.bbclass
+++ b/classes/utils.bbclass
@@ -487,7 +487,7 @@ def check_app_exists(app, d):
app = data.expand(app, d)
path = data.getVar('PATH', d, 1)
- return len(which(path, app)) != 0
+ return bool(which(path, app))
def explode_deps(s):
return bb.utils.explode_deps(s)