From 24c5bfbffdf0adbdd35efc7f2a484823425b45a4 Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Tue, 6 Dec 2016 15:50:35 +0300 Subject: [PATCH] Allow using Luarocks config in home dir --- hererocks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hererocks.py b/hererocks.py index c6071de..ab163c4 100755 --- a/hererocks.py +++ b/hererocks.py @@ -1488,7 +1488,7 @@ class LuaRocks(Program): "install.bat", "/P", os.path.join(opts.location, "luarocks"), "/LUA", opts.location, - "/FORCECONFIG", "/F" + "/F" ] if lua_identifiers["target"] == "mingw": args += ["/MW"] @@ -1525,7 +1525,7 @@ class LuaRocks(Program): else: print("Building LuaRocks" + self.version_suffix) run("./configure", "--prefix=" + opts.location, - "--with-lua=" + opts.location, "--force-config") + "--with-lua=" + opts.location) if self.is_luarocks_2_0(): run("make")