summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_global.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-01 23:59:53 +0800
committerruki <[email protected]>2015-12-01 23:59:53 +0800
commite56812a09d3677957c41bccc8988599208e3b49a (patch)
tree5e208f2707be9348b7b215706c3fa6cf64aa2134 /xmake/scripts/action/_global.lua
parente88ecbfd2dcdf19908df50abf86fd29032e2d359 (diff)
improve proberv1.0.3
Diffstat (limited to 'xmake/scripts/action/_global.lua')
-rw-r--r--xmake/scripts/action/_global.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/scripts/action/_global.lua b/xmake/scripts/action/_global.lua
index 53ed35b08..a8fffa0bc 100644
--- a/xmake/scripts/action/_global.lua
+++ b/xmake/scripts/action/_global.lua
@@ -45,7 +45,9 @@ end
function _global.done()
-- probe the global platform configure
- platform.probe(true)
+ if not platform.probe(true) then
+ return false
+ end
-- clear up the global configure
global.clearup()