summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/iphoneos
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/platform/iphoneos
parente88ecbfd2dcdf19908df50abf86fd29032e2d359 (diff)
improve proberv1.0.3
Diffstat (limited to 'xmake/scripts/platform/iphoneos')
-rw-r--r--xmake/scripts/platform/iphoneos/prober.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/xmake/scripts/platform/iphoneos/prober.lua b/xmake/scripts/platform/iphoneos/prober.lua
index 2c2892315..ae17a74c9 100644
--- a/xmake/scripts/platform/iphoneos/prober.lua
+++ b/xmake/scripts/platform/iphoneos/prober.lua
@@ -247,14 +247,14 @@ end
function prober.config()
-- call all probe functions
- utils.call( { prober._probe_arch
- , prober._probe_xcode
- , prober._probe_xcode_sdkver
- , prober._probe_make
- , prober._probe_ccache
- , prober._probe_toolchains}
- , nil
- , config)
+ return utils.call( { prober._probe_arch
+ , prober._probe_xcode
+ , prober._probe_xcode_sdkver
+ , prober._probe_make
+ , prober._probe_ccache
+ , prober._probe_toolchains}
+ , nil
+ , config)
end
@@ -262,11 +262,11 @@ end
function prober.global()
-- call all probe functions
- utils.call( { prober._probe_xcode
- , prober._probe_make
- , prober._probe_ccache}
- , nil
- , global)
+ return utils.call( { prober._probe_xcode
+ , prober._probe_make
+ , prober._probe_ccache}
+ , nil
+ , global)
end
-- return module: prober