summaryrefslogtreecommitdiff
path: root/config_lua_module
diff options
context:
space:
mode:
authorscuri <scuri>2011-02-10 19:52:35 +0000
committerscuri <scuri>2011-02-10 19:52:35 +0000
commit78c36dfb8039b0bb7add217dda4169ff88e8175e (patch)
treeed63d36d6c4a6ec57a3980ab5c3c0fbd11afff74 /config_lua_module
parent9c216eea59acb9cea99e074c72995cd26bad363a (diff)
*** empty log message ***
Diffstat (limited to 'config_lua_module')
-rw-r--r--config_lua_module11
1 files changed, 8 insertions, 3 deletions
diff --git a/config_lua_module b/config_lua_module
index 7b33f55..561e9e6 100644
--- a/config_lua_module
+++ b/config_lua_module
@@ -2,9 +2,10 @@
echo ' '
echo ' This script will configure the Tecgraf libraries in the system'
-echo ' to be used from Lua. It was tested only in Ubuntu.'
+echo ' to be used from Lua. It was tested only in Ubuntu and in Fedora.'
echo ' '
-echo ' The Run Time libraries must be already installed on the system.'
+echo ' The Run Time libraries must be already installed on the system (see the install script).'
+echo ' It assumes that Lua binaries are installed using system packages.'
echo ' '
echo ' Must be run with "sudo", or install will fail,'
echo ' for example:'
@@ -14,7 +15,11 @@ echo -n Press Enter to continue or Ctrl+C to abort...
read contscr
echo ' '
-SYSTEM_LIB=/usr/lib
+if [ -d /usr/lib64 ]; then
+ SYSTEM_LIB=/usr/lib64
+else
+ SYSTEM_LIB=/usr/lib
+fi
LUA_LIB=$SYSTEM_LIB/lua/5.1
Make_Lua_Link()