summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux/prober.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-15 10:51:07 +0800
committerruki <[email protected]>2015-12-15 10:51:07 +0800
commitda041a08d3e2faf3bdb88e9699af4a54f7a50f99 (patch)
tree3e062b11b640adde50ea4c183c92f6bf3fd71d75 /xmake/scripts/platform/linux/prober.lua
parent5152870f70f4cd527c619f28493d834319b519ca (diff)
update tbox for linux and fix prober
Diffstat (limited to 'xmake/scripts/platform/linux/prober.lua')
-rw-r--r--xmake/scripts/platform/linux/prober.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/platform/linux/prober.lua b/xmake/scripts/platform/linux/prober.lua
index b476b0b8a..91b2ff685 100644
--- a/xmake/scripts/platform/linux/prober.lua
+++ b/xmake/scripts/platform/linux/prober.lua
@@ -132,7 +132,11 @@ function prober._probe_toolpath(configs, kind, cross, name, description)
if toolpath then configs.set(kind, toolpath) end
-- trace
- utils.verbose("checking for %s (%s) ... %s", description, kind, utils.ifelse(toolpath, path.filename(toolpath), "no"))
+ if toolpath then
+ utils.verbose("checking for %s (%s) ... %s", description, kind, path.filename(toolpath), "no")
+ else
+ utils.verbose("checking for %s (%s) ... no", description, kind)
+ end
-- ok
return true