Pass /F to LuaRocks install.bat to allow upgrading

This commit is contained in:
Peter Melnichenko 2016-05-03 11:39:54 +03:00
parent 78b4476c02
commit 75111b5064

View File

@ -1290,7 +1290,7 @@ class LuaRocks(Program):
"install.bat", "install.bat",
"/P", os.path.join(opts.location, "luarocks"), "/P", os.path.join(opts.location, "luarocks"),
"/LUA", opts.location, "/LUA", opts.location,
"/FORCECONFIG", "/FORCECONFIG", "/F"
] ]
if opts.target == "mingw": if opts.target == "mingw":
args += ["/MW"] args += ["/MW"]