diff options
author | scuri <scuri> | 2011-02-10 19:53:38 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-02-10 19:53:38 +0000 |
commit | bc1dde3804f0a482cd536db596082d83e0f620e8 (patch) | |
tree | 2cb47f48f8a20673df9d4ac7b64dba928a5d536b /config_lua_module | |
parent | 4df19d5cd13556ecf64cc55b0f7a7dc01ac603ee (diff) |
*** empty log message ***
Diffstat (limited to 'config_lua_module')
-rw-r--r-- | config_lua_module | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config_lua_module b/config_lua_module index 4ce4220..d95e2f3 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() |