summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/utils.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 081e662da1..8e07eac07a 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -320,7 +320,7 @@ hardlinkdir () {
320 320
321 321
322def check_app_exists(app, d): 322def check_app_exists(app, d):
323 app = d.expand(app).strip() 323 app = d.expand(app).split()[0].strip()
324 path = d.getVar('PATH') 324 path = d.getVar('PATH')
325 return bool(bb.utils.which(path, app)) 325 return bool(bb.utils.which(path, app))
326 326