summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2017-11-29 23:43:29 +0800
committerruki <[email protected]>2017-11-29 16:20:58 +0800
commitda1d0ed5b5a78039c787ce89243f1c4d88c24334 (patch)
tree80387975f4d718873e8551fe25d182e310448710 /xmake/modules
parent5b98e5ebcabfdb83a4ab0d333210839d056a98fb (diff)
fix generate vcvarsall data file error
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index a33b16f28..fa80228eb 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -30,7 +30,7 @@ function _load_vcvarsall(vcvarsall, arch)
-- make the genvcvars.bat
local genvcvars_bat = os.tmpfile() .. "_genvcvars.bat"
- local genvcvars_dat = os.tmpfile() .. "_genvcvars.dat"
+ local genvcvars_dat = os.tmpfile() .. "_genvcvars.txt"
local file = io.open(genvcvars_bat, "w")
file:print("@echo off")
file:print("call \"%s\" %s > nul", vcvarsall, arch)