Fix build on Windows

This commit is contained in:
mpeterv 2016-03-28 15:30:16 +03:00
parent 7200bebef8
commit bae2f48940

View File

@ -882,7 +882,7 @@ class LuaRocks(Program):
# Since LuaRocks 2.1.2 # Since LuaRocks 2.1.2
if "/NOREG" in help_text: if "/NOREG" in help_text:
args += ["/NOREG", "/Q"] args += ["/NOREG", "/Q"]
run_command(*args, shell=False) run_command(args)
else: else:
print("Building LuaRocks" + self.version_suffix) print("Building LuaRocks" + self.version_suffix)
run_command("./configure", "--prefix=" + opts.location, run_command("./configure", "--prefix=" + opts.location,