aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 42ecf03b..4f4a7c3e 100755
--- a/configure
+++ b/configure
@@ -385,8 +385,8 @@ then
385elif [ -e "$PREFIX/share/lua/$LUA_VERSION/luarocks/site_config.lua" ] 385elif [ -e "$PREFIX/share/lua/$LUA_VERSION/luarocks/site_config.lua" ]
386then 386then
387 echo "Existing installation detected." 387 echo "Existing installation detected."
388 LUAROCKS_ROCKS_SUBDIR=`grep "LUAROCKS_ROCKS_SUBDIR" "$PREFIX/lib/lua/$LUA_VERSION/luarocks/site_config.lua" | sed 's,.*=\[\[(.*)\]\],\1,'` 388 LUAROCKS_ROCKS_SUBDIR=`grep "LUAROCKS_ROCKS_SUBDIR" "$PREFIX/share/lua/$LUA_VERSION/luarocks/site_config.lua" | sed 's,.*=\[\[\(.*\)\]\],\1,'`
389 echo "Using previously configured rocks dir: $LUAROCKS_ROCKS_DIR" 389 echo "Using previously configured rocks dir: $PREFIX$LUAROCKS_ROCKS_SUBDIR"
390elif [ -e "$PREFIX/share/lua/$LUA_OTHER_VERSION/luarocks/site_config.lua" ] 390elif [ -e "$PREFIX/share/lua/$LUA_OTHER_VERSION/luarocks/site_config.lua" ]
391then 391then
392 echo "Existing installation detected for other Lua version ($LUA_OTHER_VERSION)." 392 echo "Existing installation detected for other Lua version ($LUA_OTHER_VERSION)."