diff options
| author | ruki <[email protected]> | 2018-09-19 23:21:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-19 14:11:24 +0800 |
| commit | 2e6bc9480e3255e6816b647a56e50f4a88f0df31 (patch) | |
| tree | ac2afa3ad9f8216c91cb22411bcafe920812e418 /xmake/platforms | |
| parent | 3effabb03faacb09d5b566f8e72a5171bfaaa97e (diff) | |
improve winenv directory
Diffstat (limited to 'xmake/platforms')
| -rw-r--r-- | xmake/platforms/windows/environment.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/windows/environment.lua b/xmake/platforms/windows/environment.lua index b11e0907d..426b9b4ee 100644 --- a/xmake/platforms/windows/environment.lua +++ b/xmake/platforms/windows/environment.lua @@ -82,7 +82,7 @@ function _enter_toolchains() os.addenv("path", path.join(os.programdir(), "winenv", "bin")) -- attempt to load winenv - local winenv_dir = path.translate("~/.xmake/winenv") + local winenv_dir = path.join(global.directory(), "winenv") if os.isdir(winenv_dir) then import("winenv", {rootdir = winenv_dir, try = true, anonymous = true})(winenv_dir) end |
