From 05202d596f0199c6b0c7c755cecb24bfbdcb3980 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Fri, 14 Aug 2015 12:27:55 +0300 Subject: [PATCH] Use --force-config when configuring LuaRocks Fixed tree in $HOME/.luarocks being visible from scripts installed with LuaRocks. --- hererocks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hererocks.py b/hererocks.py index 9b9f45a..51f7a06 100644 --- a/hererocks.py +++ b/hererocks.py @@ -265,7 +265,8 @@ def install_luarocks(target_dir, luarocks_version, temp_dir): os.makedirs(target_dir) print("Building LuaRocks") - run_command("./configure", "--prefix=" + quote(target_dir), "--with-lua=" + quote(target_dir)) + run_command("./configure", "--prefix=" + quote(target_dir), + "--with-lua=" + quote(target_dir), "--force-config") run_command("make build") print("Installing LuaRocks") run_command("make install")