summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/linux/prober.lua')
-rw-r--r--xmake/scripts/platform/linux/prober.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/xmake/scripts/platform/linux/prober.lua b/xmake/scripts/platform/linux/prober.lua
index 717bd71fe..f8418ff12 100644
--- a/xmake/scripts/platform/linux/prober.lua
+++ b/xmake/scripts/platform/linux/prober.lua
@@ -17,7 +17,7 @@
-- Copyright (C) 2009 - 2015, ruki All rights reserved.
--
-- @author ruki
--- @file _prober.lua
+-- @file prober.lua
--
-- load modules
@@ -26,11 +26,11 @@ local path = require("base/path")
local utils = require("base/utils")
local string = require("base/string")
--- define module: _prober
-local _prober = _prober or {}
+-- define module: prober
+local prober = prober or {}
-- probe the architecture
-function _prober._probe_arch(configs)
+function prober._probe_arch(configs)
-- get the architecture
local arch = configs.arch
@@ -46,12 +46,12 @@ function _prober._probe_arch(configs)
end
-- probe the configure
-function _prober.done(configs, is_global)
+function prober.done(configs, is_global)
-- probe the architecture
- if not _prober._probe_arch(configs) then return end
+ if not prober._probe_arch(configs) then return end
end
--- return module: _prober
-return _prober
+-- return module: prober
+return prober