1
0
Fork 0

.bam/functions.lua: adding documentation to host_system()

This commit is contained in:
Henrik Hautakoski 2020-12-28 19:28:27 +01:00
parent cbd26a211d
commit 0a75f0c2ed

View file

@ -31,10 +31,13 @@ function host_system()
return _systems[2] return _systems[2]
end end
-- next, check if we are on windows by checking
-- the 'OS' environment variable
local win = os.getenv('OS') local win = os.getenv('OS')
if win ~= nil and win:lower():match('windows') then if win ~= nil and win:lower():match('windows') then
return _systems[1] return _systems[1]
end end
return nil return nil
end end