mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
7
vendor/lua-5.1.3/test/env.lua
vendored
Normal file
7
vendor/lua-5.1.3/test/env.lua
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- read environment variables as if they were global variables
|
||||
|
||||
local f=function (t,i) return os.getenv(i) end
|
||||
setmetatable(getfenv(),{__index=f})
|
||||
|
||||
-- an example
|
||||
print(a,USER,PATH)
|
||||
Loading…
Add table
Add a link
Reference in a new issue