This commit is contained in:
Kovid Goyal 2015-12-01 00:12:00 +05:30
parent cef61bd4ed
commit 50bc0f79a2

View File

@ -80,7 +80,7 @@ export INCLUDE="%s"
export LIBPATH="%s"
'''%(unix(paths), lib, include, libpath)
'''%(unix(paths), lib.replace('\\', r'\\'), include.replace('\\', r'\\'), libpath.replace('\\', r'\\'))
with open(os.path.expanduser('~/.vcvars'), 'wb') as f:
f.write(raw.encode('utf-8'))