diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/workspace/workspace.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 099196ce..ea2c4737 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -482,6 +482,10 @@ function m.normalize(path) if key == '3rd' then return (ROOT / 'meta' / '3rd'):string() end + if key:sub(1, 4) == 'env:' then + local env = os.getenv(key:sub(5)) + return env + end end) path = util.expandPath(path) if platform.OS == 'Windows' then |