view framework/bin/webmcp_shell @ 172:a83164390355
Allow json.object and json.array functions to convert any Lua value using __pairs and __ipairs metamethods
| author |
jbe |
| date |
Fri Aug 01 17:11:59 2014 +0200 (2014-08-01) |
| parents |
9fdfb27f8e67 |
| children |
|
line source
2 export WEBMCP_APP_BASEPATH="`pwd`"
3 export WEBMCP_CONFIG_NAME="$1"
4 export WEBMCP_INTERACTIVE="yes"
5 if [ "$WEBMCP_CONFIG_NAME" = "" ]; then
6 echo "Error: No config name given." > /dev/stderr
9 cd "`dirname "$0"`/../cgi-bin"
10 exec lua -i webmcp.lua